File tree Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -127,6 +127,9 @@ stage('Configure') {
127
127
// even if we don't use these features, just enabling them can cause side effects
128
128
// and it's useful to test that.
129
129
new JdkBuildEnvironment (testJavaVersion : ' 19' , testCompilerTool : ' OpenJDK 19 Latest' ,
130
+ testLauncherArgs : ' --enable-preview' ,
131
+ condition : TestCondition . AFTER_MERGE ),
132
+ new JdkBuildEnvironment (testJavaVersion : ' 20' , testCompilerTool : ' OpenJDK 20 Latest' ,
130
133
testLauncherArgs : ' --enable-preview' ,
131
134
condition : TestCondition . AFTER_MERGE )
132
135
],
Original file line number Diff line number Diff line change 1482
1482
</properties >
1483
1483
</profile >
1484
1484
<profile >
1485
- <id >jdk19+ </id >
1485
+ <id >testWithJdk19 </id >
1486
1486
<activation >
1487
1487
<property >
1488
1488
<name >java-version.test.release</name >
1496
1496
<surefire .jvm.args.java-version>-Dnet.bytebuddy.experimental=true</surefire .jvm.args.java-version>
1497
1497
</properties >
1498
1498
</profile >
1499
+ <profile >
1500
+ <id >testWithJdk20</id >
1501
+ <activation >
1502
+ <property >
1503
+ <name >java-version.test.release</name >
1504
+ <value >20</value >
1505
+ </property >
1506
+ </activation >
1507
+ <properties >
1508
+ <!-- ForbiddenAPIs doesn't work with JDK20+ yet -->
1509
+ <forbiddenapis .skip>true</forbiddenapis .skip>
1510
+ <!-- We need net.bytebuddy.experimental=true to make Bytebuddy work with JDK20+ -->
1511
+ <surefire .jvm.args.java-version>-Dnet.bytebuddy.experimental=true</surefire .jvm.args.java-version>
1512
+ </properties >
1513
+ </profile >
1499
1514
<profile >
1500
1515
<id >jqassistant</id >
1501
1516
<!--
You can’t perform that action at this time.
0 commit comments