Skip to content

Commit

Permalink
Merge pull request #918 from hcoles/jdk17
Browse files Browse the repository at this point in the history
test against jdk17
  • Loading branch information
hcoles authored Sep 16, 2021
2 parents 7a314b9 + 1e84271 commit a2531a0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:
java: 8
- title: "JDK 11"
java: 11
- title: "JDK 16"
java: "16-ea"
- title: "JDK 17"
java: "17"
runs-on: ubuntu-latest
steps:
- name: 'Checkout from Git'
Expand Down
6 changes: 3 additions & 3 deletions pitest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
</properties>
<profiles>
<profile>
<id>jdk16</id>
<id>jdk17</id>
<activation>
<jdk>16</jdk>
<jdk>17</jdk>
</activation>
<properties>
<!-- pitest does not use reflection, but some of the tests depend on xstream, which does. Jdk 16 fails with
errors due to the module system. jdk8 does not support the add-opens option, so it must be activated here by jdk-->
<surefire.argline>--add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.lang.ref=ALL-UNNAMED</surefire.argline>
<surefire.argline>--illegal-access=permit --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.lang.ref=ALL-UNNAMED</surefire.argline>
</properties>
</profile>
</profiles>
Expand Down

0 comments on commit a2531a0

Please sign in to comment.