Skip to content

Commit

Permalink
fix nativeTest for com.github.ben-manes.caffeine:caffeine:2.9.3
Browse files Browse the repository at this point in the history
  • Loading branch information
linghengqian committed Sep 9, 2023
1 parent 2f29acb commit 15ef51e
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 3 deletions.
3 changes: 0 additions & 3 deletions com.github/caffeine/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,4 @@ graalvmNative {
outputDirectories.add("src/test/resources/META-INF/native-image/com.github.ben-manes.caffeine/caffeine")
}
}
metadataRepository {
enabled = true
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -183,5 +183,25 @@
"condition":{"typeReachable":"com.github.benmanes.caffeine.cache.UnsafeAccess"},
"name":"sun.misc.Unsafe",
"fields":[{"name":"theUnsafe"}]
},{
"condition":{"typeReachable":"com.github.benmanes.caffeine.cache.NodeFactory"},
"name":"com.github.benmanes.caffeine.cache.PSWMS",
"methods":[{"name":"<init>","parameterTypes":[] }]
},
{
"condition":{"typeReachable":"com.github.benmanes.caffeine.cache.BoundedLocalCache$BoundedLocalManualCache"},
"name":"com.github.benmanes.caffeine.cache.SI",
"methods":[{"name":"<init>","parameterTypes":["com.github.benmanes.caffeine.cache.Caffeine","com.github.benmanes.caffeine.cache.AsyncCacheLoader","boolean"] }]
},
{
"condition":{"typeReachable":"com.github.benmanes.caffeine.cache.NodeFactory"},
"name":"com.github.benmanes.caffeine.cache.PD",
"fields":[{"name":"value"}],
"methods":[{"name":"<init>","parameterTypes":[] }]
},{
"condition":{"typeReachable":"com.github.benmanes.caffeine.cache.NodeFactory"},
"name":"com.github.benmanes.caffeine.cache.PW",
"fields":[{"name":"value"}],
"methods":[{"name":"<init>","parameterTypes":[] }]
}
]

0 comments on commit 15ef51e

Please sign in to comment.