We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f2c358 commit cf5eae3Copy full SHA for cf5eae3
ruby-tools/src/main/java/de/saumya/mojo/ruby/script/AntLauncher.java
@@ -72,6 +72,7 @@ protected void doExecute(final File launchDirectory,
72
if (this.factory.jrubyJar != null) {
73
temp.add(new Path(project, this.factory.jrubyJar.getAbsolutePath()));
74
}
75
+ java.createJvmarg().setLine("-XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.security.cert=ALL-UNNAMED --add-opens=java.base/java.security=ALL-UNNAMED --add-opens=java.base/java.util.zip=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/javax.crypto=ALL-UNNAMED --illegal-access=warn");
76
java.createJvmarg().setValue("-cp");
77
java.createJvmarg().setPath(temp);
78
0 commit comments