Skip to content

Commit f6b8590

Browse files
committed
The standard tests need the fix for the new Groovy too.
1 parent 6a786a2 commit f6b8590

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

lib-extra/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ spotbugs { reportLevel = 'low' } // low|medium|high (low = sensitive to even min
2929

3030
test {
3131
useJUnitPlatform()
32-
if (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_17)) {
32+
if (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_16)) {
3333
// needed for EclipseCdtFormatterStepTest
3434
jvmArgs '--add-opens=java.base/java.lang=ALL-UNNAMED'
3535
}

testlib/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ test {
3030
'--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED',
3131
'--add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED',
3232
'--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED',
33-
'--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED'
33+
'--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED',
34+
'--add-opens=java.base/java.lang=ALL-UNNAMED'
3435
]
3536
jvmArgs args
3637
}

0 commit comments

Comments
 (0)