Skip to content

Commit cf5eae3

Browse files
committed
adds a bunch of java9 warning suppression
1 parent 4f2c358 commit cf5eae3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ruby-tools/src/main/java/de/saumya/mojo/ruby/script/AntLauncher.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ protected void doExecute(final File launchDirectory,
7272
if (this.factory.jrubyJar != null) {
7373
temp.add(new Path(project, this.factory.jrubyJar.getAbsolutePath()));
7474
}
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");
7576
java.createJvmarg().setValue("-cp");
7677
java.createJvmarg().setPath(temp);
7778

0 commit comments

Comments
 (0)