Skip to content

Commit

Permalink
HSEARCH-5287 Test against JDK 25
Browse files Browse the repository at this point in the history
  • Loading branch information
marko-bekhta committed Dec 12, 2024
1 parent 5acc142 commit 7cdcbac
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,9 @@ stage('Configure') {
testLauncherArgs: '--enable-preview',
condition: TestCondition.AFTER_MERGE),
new JdkBuildEnvironment(version: '24', testCompilerTool: 'OpenJDK 24 Latest',
testLauncherArgs: '--enable-preview -Dnet.bytebuddy.experimental=true',
condition: TestCondition.AFTER_MERGE),
new JdkBuildEnvironment(version: '25', testCompilerTool: 'OpenJDK 25 Latest',
testLauncherArgs: '--enable-preview -Dnet.bytebuddy.experimental=true',
condition: TestCondition.AFTER_MERGE)
// IMPORTANT: Make sure to update the documentation for any newly supported Java versions
Expand Down
14 changes: 14 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1398,6 +1398,20 @@
</properties>
</profile>

<profile>
<id>testWithJdk25</id>
<activation>
<property>
<name>java-version.test.release</name>
<value>25</value>
</property>
</activation>
<properties>
<!-- Spring Boot 3 isn't ready for JDK25 yet -->
<failsafe.spring.skip>true</failsafe.spring.skip>
</properties>
</profile>

<profile>
<id>compiler-eclipse</id>
<build>
Expand Down

0 comments on commit 7cdcbac

Please sign in to comment.