Skip to content

Commit

Permalink
Fix test execution failure due to illegal access
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcono1234 committed Oct 17, 2022
1 parent 300cd6e commit 8ed2872
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion serial-builder-codegen/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ tasks.test {
useJUnitPlatform()

// Temporary workaround for https://github.com/OpenHFT/Java-Runtime-Compiler/issues/91
jvmArgs = listOf("--add-opens", "jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED")
jvmArgs = listOf(
"--add-opens", "jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED",
"--add-opens", "java.base/java.lang=ALL-UNNAMED",
)
}

tasks.javadoc {
Expand Down

0 comments on commit 8ed2872

Please sign in to comment.