File tree Expand file tree Collapse file tree 2 files changed +32
-3
lines changed
Expand file tree Collapse file tree 2 files changed +32
-3
lines changed Original file line number Diff line number Diff line change @@ -131,6 +131,9 @@ stage('Configure') {
131131 testLauncherArgs : ' --enable-preview' ,
132132 condition : TestCondition . AFTER_MERGE ),
133133 new JdkBuildEnvironment (testJavaVersion : ' 21' , testCompilerTool : ' OpenJDK 21 Latest' ,
134+ testLauncherArgs : ' --enable-preview' ,
135+ condition : TestCondition . AFTER_MERGE ),
136+ new JdkBuildEnvironment (testJavaVersion : ' 22' , testCompilerTool : ' OpenJDK 22 Latest' ,
134137 testLauncherArgs : ' --enable-preview' ,
135138 condition : TestCondition . AFTER_MERGE )
136139 ],
Original file line number Diff line number Diff line change 14751475 <properties >
14761476 <!-- ForbiddenAPIs doesn't work with JDK19+ yet -->
14771477 <forbiddenapis .skip>true</forbiddenapis .skip>
1478- <!-- We need net.bytebuddy.experimental=true to make Bytebuddy work with JDK19+ -->
1479- <surefire .jvm.args.java-version>-Dnet.bytebuddy.experimental=true</surefire .jvm.args.java-version>
14801478 </properties >
14811479 </profile >
14821480 <profile >
14901488 <properties >
14911489 <!-- ForbiddenAPIs doesn't work with JDK20+ yet -->
14921490 <forbiddenapis .skip>true</forbiddenapis .skip>
1493- <!-- We need net.bytebuddy.experimental=true to make Bytebuddy work with JDK20+ -->
1491+ </properties >
1492+ </profile >
1493+ <profile >
1494+ <id >testWithJdk21</id >
1495+ <activation >
1496+ <property >
1497+ <name >java-version.test.release</name >
1498+ <value >21</value >
1499+ </property >
1500+ </activation >
1501+ <properties >
1502+ <!-- ForbiddenAPIs doesn't work with JDK20+ yet -->
1503+ <forbiddenapis .skip>true</forbiddenapis .skip>
1504+ <!-- We need net.bytebuddy.experimental=true to make Bytebuddy work with JDK21+ -->
1505+ <surefire .jvm.args.java-version>-Dnet.bytebuddy.experimental=true</surefire .jvm.args.java-version>
1506+ </properties >
1507+ </profile >
1508+ <profile >
1509+ <id >testWithJdk22</id >
1510+ <activation >
1511+ <property >
1512+ <name >java-version.test.release</name >
1513+ <value >22</value >
1514+ </property >
1515+ </activation >
1516+ <properties >
1517+ <!-- ForbiddenAPIs doesn't work with JDK20+ yet -->
1518+ <forbiddenapis .skip>true</forbiddenapis .skip>
1519+ <!-- We need net.bytebuddy.experimental=true to make Bytebuddy work with JDK21+ -->
14941520 <surefire .jvm.args.java-version>-Dnet.bytebuddy.experimental=true</surefire .jvm.args.java-version>
14951521 </properties >
14961522 </profile >
You can’t perform that action at this time.
0 commit comments