Skip to content

Commit

Permalink
Add add-opens for JDK 21 java.lang.IllegalAccessError (#1069)
Browse files Browse the repository at this point in the history
  • Loading branch information
cheister authored Nov 10, 2023
1 parent bc90033 commit 7c8b941
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/kotlin/bootstrap.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ def kt_bootstrap_binary(
"-XX:+IgnoreUnrecognizedVMOptions",
"--add-opens=java.base/java.nio=ALL-UNNAMED",
"--add-opens=java.base/java.lang=ALL-UNNAMED",
"--add-opens=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED",
"--add-opens=jdk.jdeps/com.sun.tools.jdeps=ALL-UNNAMED",
],
main_class = main_class,
Expand Down

0 comments on commit 7c8b941

Please sign in to comment.