Skip to content

Commit d9def87

Browse files
author
TheSnoozer
committed
[testing] Java 17 / JDK-8266851: the '--illegal-access=permit' is obsolete, one needs to specify --opens now
1 parent 1bffa45 commit d9def87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@
346346
<configuration>
347347
<trimStackTrace>false</trimStackTrace>
348348
<!-- Workaround for https://github.com/stefanbirkner/system-lambda/issues/23 -->
349-
<argLine>--illegal-access=permit</argLine>
349+
<argLine>--illegal-access=permit --add-opens java.base/jdk.internal.loader=ALL-UNNAMED</argLine>
350350
</configuration>
351351
</plugin>
352352
</plugins>

0 commit comments

Comments
 (0)