Skip to content

Commit a775b1f

Browse files
committed
add support for java17
1 parent faae4f1 commit a775b1f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/maven.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ jobs:
1515
java:
1616
- '8'
1717
- '11'
18-
#- '17'
18+
- '17'
19+
# - '21'
1920
name: Java ${{ matrix.Java }} sample
2021
steps:
2122
- uses: actions/checkout@v2

pom.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,9 @@
6161
<artifactId>maven-surefire-plugin</artifactId>
6262
<version>2.22.2</version>
6363
<configuration>
64-
<!-- <parallel>all</parallel> &lt;!&ndash; Run tests in parallel&ndash;&gt;-->
65-
<!-- <useUnlimitedThreads>true</useUnlimitedThreads>-->
6664
<rerunFailingTestsCount>10</rerunFailingTestsCount>
6765
<argLine>-Xms1g -Xmx1g</argLine>
66+
<argLine>--add-opens java.base/java.nio=ALL-UNNAMED</argLine>
6867
</configuration>
6968
</plugin>
7069
<plugin>

0 commit comments

Comments
 (0)