Skip to content

Commit

Permalink
[tests] open modules in forked process if java is 17+
Browse files Browse the repository at this point in the history
  • Loading branch information
0xaa4eb committed Feb 7, 2025
1 parent bef4631 commit 605fe93
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ private static void openJavaModules(List<String> processArgs) {
if (jdkVersion >= OPEN_MODULES_JDK_VERSION) {
processArgs.add("--add-opens=java.base/java.lang=ALL-UNNAMED");
processArgs.add("--add-opens=java.base/java.lang.invoke=ALL-UNNAMED");
processArgs.add("--add-opens=java.base/sun.nio.ch=ALL-UNNAMED");
}
}
}
Expand Down

0 comments on commit 605fe93

Please sign in to comment.