Remove `--add-opens` from java9/10 settings
This commit is contained in:
parent
3f158bb47f
commit
fcbba523d1
|
@ -168,8 +168,6 @@ tasks.withType(Test) {
|
|||
description "Runs $cloned.name under java 9"
|
||||
// TODO: Pull from environment variable:
|
||||
executable = "$java9Home/bin/java"
|
||||
jvmArgs '--add-opens'
|
||||
jvmArgs 'java.base/jdk.internal.loader=ALL-UNNAMED'
|
||||
project.afterEvaluate {
|
||||
exclude project.testJava8Only
|
||||
}
|
||||
|
@ -183,8 +181,6 @@ tasks.withType(Test) {
|
|||
description "Runs $cloned.name under java 10"
|
||||
// TODO: Pull from environment variable:
|
||||
executable = "$java10Home/bin/java"
|
||||
jvmArgs '--add-opens'
|
||||
jvmArgs 'java.base/jdk.internal.loader=ALL-UNNAMED'
|
||||
project.afterEvaluate {
|
||||
exclude project.testJava8Only
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue