Skip to content

Commit

Permalink
Disable sun.io.useCanonCaches to build on TeamCity
Browse files Browse the repository at this point in the history
  • Loading branch information
DenWav committed Aug 18, 2022
1 parent e89950e commit 472b4e0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,8 @@ tasks.test {
systemProperty("NO_FS_ROOTS_ACCESS_CHECK", "true")

jvmArgs(
"-Dsun.io.useCanonCaches=false",
"-Dsun.io.useCanonPrefixCache=false",
"--add-opens", "java.base/java.io=ALL-UNNAMED",
"--add-opens", "java.base/java.lang.invoke=ALL-UNNAMED",
"--add-opens", "java.base/java.lang.ref=ALL-UNNAMED",
Expand Down

0 comments on commit 472b4e0

Please sign in to comment.