@@ -174,17 +174,17 @@ To mitigate this problem, you have to add the following code to your module's `b
174174if (JavaVersion.current() >= JavaVersion.VERSION_16) {
175175 test {
176176 jvmArgs(
177- "--add-opens=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED",
178- "--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED",
179- "--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED",
180- "--add-opens=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED",
181- "--add-opens=jdk.compiler/com.sun.tools.javac.jvm=ALL-UNNAMED",
182- "--add-opens=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED",
183- "--add-opens=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED",
184- "--add-opens=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED",
185- "--add-opens=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED",
186- "--add-opens=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED",
187- )
177+ "--add-opens=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED",
178+ "--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED",
179+ "--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED",
180+ "--add-opens=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED",
181+ "--add-opens=jdk.compiler/com.sun.tools.javac.jvm=ALL-UNNAMED",
182+ "--add-opens=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED",
183+ "--add-opens=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED",
184+ "--add-opens=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED",
185+ "--add-opens=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED",
186+ "--add-opens=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED",
187+ )
188188 }
189189}
190190```
0 commit comments