File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed
Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -128,6 +128,9 @@ stage('Configure') {
128128 testLauncherArgs : ' --enable-preview' ,
129129 condition : TestCondition . AFTER_MERGE ),
130130 new JdkBuildEnvironment (testJavaVersion : ' 24' , testCompilerTool : ' OpenJDK 24 Latest' ,
131+ testLauncherArgs : ' --enable-preview' ,
132+ condition : TestCondition . AFTER_MERGE ),
133+ new JdkBuildEnvironment (testJavaVersion : ' 25' , testCompilerTool : ' OpenJDK 25 Latest' ,
131134 testLauncherArgs : ' --enable-preview' ,
132135 condition : TestCondition . AFTER_MERGE )
133136 ],
Original file line number Diff line number Diff line change 18271827 <surefire .jvm.args.java-version>-Dnet.bytebuddy.experimental=true</surefire .jvm.args.java-version>
18281828 </properties >
18291829 </profile >
1830+ <profile >
1831+ <id >testWithJdk25</id >
1832+ <activation >
1833+ <property >
1834+ <name >java-version.test.release</name >
1835+ <value >25</value >
1836+ </property >
1837+ </activation >
1838+ <properties >
1839+ <!-- ForbiddenAPIs doesn't work with JDK25+ yet -->
1840+ <forbiddenapis .skip>true</forbiddenapis .skip>
1841+ <!-- We need net.bytebuddy.experimental=true to make Bytebuddy work with JDK25+ -->
1842+ <surefire .jvm.args.java-version>-Dnet.bytebuddy.experimental=true</surefire .jvm.args.java-version>
1843+ </properties >
1844+ </profile >
18301845 <profile >
18311846 <!--
18321847 This profile set some properties to make running reproducibility check build easier.
You can’t perform that action at this time.
0 commit comments