update to Java 17

This commit is contained in:
Jörg Prante 2022-08-05 19:15:27 +02:00
parent 5cd5ae96a1
commit a101c4f4aa

View file

@ -12,7 +12,15 @@ test {
testLogging {
events 'STARTED', 'PASSED', 'FAILED', 'SKIPPED'
}
jvmArgs '--add-exports=java.base/jdk.internal.ref=ALL-UNNAMED'
jvmArgs '--add-exports=java.base/jdk.internal.ref=ALL-UNNAMED',
'--add-exports=java.base/sun.nio.ch=ALL-UNNAMED',
'--add-exports=jdk.unsupported/sun.misc=ALL-UNNAMED',
'--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED',
'--add-opens=jdk.compiler/com.sun.tools.javac=ALL-UNNAMED',
'--add-opens=java.base/java.lang=ALL-UNNAMED',
'--add-opens=java.base/java.lang.reflect=ALL-UNNAMED',
'--add-opens=java.base/java.io=ALL-UNNAMED',
'--add-opens=java.base/java.util=ALL-UNNAMED'
afterSuite { desc, result ->
if (!desc.parent) {
println "\nTest result: ${result.resultType}"