Declare the appropriate JVM options in the Gradel build in order to get Apache Geode to run on Java 17 correctly.

This commit is contained in:
John Blum
2022-07-19 15:49:38 -07:00
parent e3c599df1c
commit 23e1f2fe90

View File

@@ -37,8 +37,12 @@ dependencies {
}
def jvmArgList = [
"--add-opens", "java.base/java.lang=ALL-UNNAMED",
"--add-opens", "java.base/java.nio=ALL-UNNAMED",
"--add-opens", "java.base/java.util=ALL-UNNAMED"
"--add-opens", "java.base/java.util=ALL-UNNAMED",
"--add-opens", "java.base/sun.nio.ch=ALL-UNNAMED",
"--add-opens", "java.management/com.sun.jmx.remote.security=ALL-UNNAMED",
"--add-opens", "jdk.management/com.sun.management.internal=ALL-UNNAMED"
]
test {