diff --git a/Jenkinsfile b/Jenkinsfile
index a5af5f8b08..6dbc1f6384 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -128,6 +128,9 @@ stage('Configure') {
testLauncherArgs: '--enable-preview',
condition: TestCondition.AFTER_MERGE),
new JdkBuildEnvironment(testJavaVersion: '24', testCompilerTool: 'OpenJDK 24 Latest',
+ testLauncherArgs: '--enable-preview',
+ condition: TestCondition.AFTER_MERGE),
+ new JdkBuildEnvironment(testJavaVersion: '25', testCompilerTool: 'OpenJDK 25 Latest',
testLauncherArgs: '--enable-preview',
condition: TestCondition.AFTER_MERGE)
],
diff --git a/pom.xml b/pom.xml
index 74161ca4f8..4777281fd1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1813,6 +1813,21 @@
-Dnet.bytebuddy.experimental=true
+
+ testWithJdk25
+
+
+ java-version.test.release
+ 25
+
+
+
+
+ true
+
+ -Dnet.bytebuddy.experimental=true
+
+