Refactor JVM/JRE runtime options required by Apache Geode to run on Java 17.

This commit is contained in:
John Blum
2022-06-09 12:13:49 -07:00
parent fc5d401b51
commit 28080cc80f

View File

@@ -178,6 +178,12 @@ public abstract class ProcessExecutor {
command.add("java.base/java.nio=ALL-UNNAMED");
command.add("--add-opens");
command.add("java.base/java.util=ALL-UNNAMED");
command.add("--add-opens");
command.add("jdk.management/com.sun.management.internal=ALL-UNNAMED");
command.add("--add-exports");
command.add("java.base/sun.nio.ch=ALL-UNNAMED");
command.add("--add-exports");
command.add("java.management/com.sun.jmx.remote.security=ALL-UNNAMED");
}
return command;