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') {
131
131
testLauncherArgs : ' --enable-preview' ,
132
132
condition : TestCondition . AFTER_MERGE ),
133
133
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' ,
134
137
testLauncherArgs : ' --enable-preview' ,
135
138
condition : TestCondition . AFTER_MERGE )
136
139
],
Original file line number Diff line number Diff line change 1475
1475
<properties >
1476
1476
<!-- ForbiddenAPIs doesn't work with JDK19+ yet -->
1477
1477
<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>
1480
1478
</properties >
1481
1479
</profile >
1482
1480
<profile >
1490
1488
<properties >
1491
1489
<!-- ForbiddenAPIs doesn't work with JDK20+ yet -->
1492
1490
<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+ -->
1494
1520
<surefire .jvm.args.java-version>-Dnet.bytebuddy.experimental=true</surefire .jvm.args.java-version>
1495
1521
</properties >
1496
1522
</profile >
You can’t perform that action at this time.
0 commit comments