Skip to content

Commit

Permalink
The standard tests need the fix for the new Groovy too.
Browse files Browse the repository at this point in the history
  • Loading branch information
nedtwigg committed Jul 28, 2022
1 parent 6a786a2 commit f6b8590
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib-extra/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spotbugs { reportLevel = 'low' } // low|medium|high (low = sensitive to even min

test {
useJUnitPlatform()
if (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_17)) {
if (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_16)) {
// needed for EclipseCdtFormatterStepTest
jvmArgs '--add-opens=java.base/java.lang=ALL-UNNAMED'
}
Expand Down
3 changes: 2 additions & 1 deletion testlib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ test {
'--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED',
'--add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED',
'--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED',
'--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED'
'--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED',
'--add-opens=java.base/java.lang=ALL-UNNAMED'
]
jvmArgs args
}
Expand Down

0 comments on commit f6b8590

Please sign in to comment.