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 {
66
66
test {
67
67
// Use junit platform for unit tests
68
68
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'
69
79
}
70
80
71
81
// This task produces a single jar.
You can’t perform that action at this time.
0 commit comments