Skip to content

Commit

Permalink
HV-1969 Add Maven profile to test against JDK 23
Browse files Browse the repository at this point in the history
  • Loading branch information
yrodiere committed Jan 9, 2024
1 parent aaeed81 commit 729cd01
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1476,6 +1476,21 @@
<surefire.jvm.args.java-version>-Dnet.bytebuddy.experimental=true</surefire.jvm.args.java-version>
</properties>
</profile>
<profile>
<id>testWithJdk23</id>
<activation>
<property>
<name>java-version.test.release</name>
<value>23</value>
</property>
</activation>
<properties>
<!-- ForbiddenAPIs doesn't work with JDK23+ yet -->
<forbiddenapis.skip>true</forbiddenapis.skip>
<!-- We need net.bytebuddy.experimental=true to make Bytebuddy work with JDK23+ -->
<surefire.jvm.args.java-version>-Dnet.bytebuddy.experimental=true</surefire.jvm.args.java-version>
</properties>
</profile>
<profile>
<id>jqassistant</id>
<!--
Expand Down

0 comments on commit 729cd01

Please sign in to comment.