Skip to content

Commit 7cdcbac

Browse files
committed
HSEARCH-5287 Test against JDK 25
1 parent 5acc142 commit 7cdcbac

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
@@ -203,6 +203,9 @@ stage('Configure') {
203203
testLauncherArgs: '--enable-preview',
204204
condition: TestCondition.AFTER_MERGE),
205205
new JdkBuildEnvironment(version: '24', testCompilerTool: 'OpenJDK 24 Latest',
206+
testLauncherArgs: '--enable-preview -Dnet.bytebuddy.experimental=true',
207+
condition: TestCondition.AFTER_MERGE),
208+
new JdkBuildEnvironment(version: '25', testCompilerTool: 'OpenJDK 25 Latest',
206209
testLauncherArgs: '--enable-preview -Dnet.bytebuddy.experimental=true',
207210
condition: TestCondition.AFTER_MERGE)
208211
// 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
@@ -1398,6 +1398,20 @@
13981398
</properties>
13991399
</profile>
14001400

1401+
<profile>
1402+
<id>testWithJdk25</id>
1403+
<activation>
1404+
<property>
1405+
<name>java-version.test.release</name>
1406+
<value>25</value>
1407+
</property>
1408+
</activation>
1409+
<properties>
1410+
<!-- Spring Boot 3 isn't ready for JDK25 yet -->
1411+
<failsafe.spring.skip>true</failsafe.spring.skip>
1412+
</properties>
1413+
</profile>
1414+
14011415
<profile>
14021416
<id>compiler-eclipse</id>
14031417
<build>

0 commit comments

Comments
 (0)