Skip to content

Commit

Permalink
build: update unit test JVM args for Java 17 and 21
Browse files Browse the repository at this point in the history
Add java command-line argument --add-opens to let
the java.base module export sun.nio.ch as open package.
  • Loading branch information
sebastian-nagel committed Oct 3, 2024
1 parent 9c63a39 commit faf6241
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@
<properties>
<excludeTags>performance</excludeTags>
</properties>
<argLine>
<!-- required for Java 17 -->
--add-opens=java.base/sun.nio.ch=ALL-UNNAMED
</argLine>
</configuration>
</plugin>
<plugin>
Expand Down

0 comments on commit faf6241

Please sign in to comment.