Skip to content

Commit 4805d4d

Browse files
marko-bekhtayrodiere
authored andcommitted
Add testing against JDK 24
1 parent 6846e41 commit 4805d4d

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

Jenkinsfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,9 @@ stage('Configure') {
205205
// Make sure to remove that argument as soon as possible
206206
// -- generally that requires upgrading bytebuddy in Hibernate ORM after the JDK goes GA.
207207
new JdkBuildEnvironment(version: '23', testCompilerTool: 'OpenJDK 23 Latest',
208+
testLauncherArgs: '--enable-preview -Dnet.bytebuddy.experimental=true',
209+
condition: TestCondition.AFTER_MERGE),
210+
new JdkBuildEnvironment(version: '24', testCompilerTool: 'OpenJDK 24 Latest',
208211
testLauncherArgs: '--enable-preview -Dnet.bytebuddy.experimental=true',
209212
condition: TestCondition.AFTER_MERGE)
210213
// IMPORTANT: Make sure to update the documentation for any newly supported Java versions

pom.xml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1366,6 +1366,20 @@
13661366
</properties>
13671367
</profile>
13681368

1369+
<profile>
1370+
<id>testWithJdk24</id>
1371+
<activation>
1372+
<property>
1373+
<name>java-version.test.release</name>
1374+
<value>24</value>
1375+
</property>
1376+
</activation>
1377+
<properties>
1378+
<!-- Spring Boot 3 isn't ready for JDK24 yet -->
1379+
<failsafe.spring.skip>true</failsafe.spring.skip>
1380+
</properties>
1381+
</profile>
1382+
13691383
<profile>
13701384
<id>compiler-eclipse</id>
13711385
<build>

0 commit comments

Comments
 (0)