Skip to content

Commit a147e35

Browse files
committed
HV-2119 Test against JDK 26
Signed-off-by: marko-bekhta <[email protected]>
1 parent 516cd85 commit a147e35

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

Jenkinsfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,9 @@ stage('Configure') {
128128
testLauncherArgs: '--enable-preview',
129129
condition: TestCondition.AFTER_MERGE),
130130
new JdkBuildEnvironment(testJavaVersion: '25', testCompilerTool: 'OpenJDK 25 Latest',
131+
testLauncherArgs: '--enable-preview',
132+
condition: TestCondition.AFTER_MERGE),
133+
new JdkBuildEnvironment(testJavaVersion: '26', testCompilerTool: 'OpenJDK 26 Latest',
131134
testLauncherArgs: '--enable-preview',
132135
condition: TestCondition.AFTER_MERGE)
133136
],

pom.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1807,6 +1807,22 @@
18071807
<arquillian.jvm.args.java-version>-Dnet.bytebuddy.experimental=true</arquillian.jvm.args.java-version>
18081808
</properties>
18091809
</profile>
1810+
<profile>
1811+
<id>testWithJdk26</id>
1812+
<activation>
1813+
<property>
1814+
<name>java-version.test.release</name>
1815+
<value>26</value>
1816+
</property>
1817+
</activation>
1818+
<properties>
1819+
<!-- ForbiddenAPIs doesn't work with JDK25+ yet -->
1820+
<forbiddenapis.skip>true</forbiddenapis.skip>
1821+
<!-- We need net.bytebuddy.experimental=true to make Bytebuddy work with JDK25+ -->
1822+
<surefire.jvm.args.java-version>-Dnet.bytebuddy.experimental=true</surefire.jvm.args.java-version>
1823+
<arquillian.jvm.args.java-version>-Dnet.bytebuddy.experimental=true</arquillian.jvm.args.java-version>
1824+
</properties>
1825+
</profile>
18101826
<profile>
18111827
<!--
18121828
This profile set some properties to make running reproducibility check build easier.

0 commit comments

Comments
 (0)