File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
examples/pregel-bootstrap Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -66,6 +66,16 @@ dependencies {
6666test {
6767 // Use junit platform for unit tests
6868 useJUnitPlatform()
69+
70+ // Since JDK 17 the default access to the following
71+ // packages is "deny". We need to open them in order
72+ // to gain access in GDS / Neo4j.
73+ jvmArgs + = ' --add-opens=java.base/java.lang=ALL-UNNAMED'
74+ jvmArgs + = ' --add-opens=java.base/java.lang.invoke=ALL-UNNAMED'
75+ jvmArgs + = ' --add-opens=java.base/java.nio=ALL-UNNAMED'
76+ jvmArgs + = ' --add-opens=java.base/java.util.stream=ALL-UNNAMED'
77+ jvmArgs + = ' --add-opens=java.base/sun.net.www.protocol.http=ALL-UNNAMED'
78+ jvmArgs + = ' --add-opens=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED'
6979}
7080
7181// This task produces a single jar.
You can’t perform that action at this time.
0 commit comments