Skip to content

Commit 1f8026e

Browse files
authored
Run tests with jdk 23 (#12329)
1 parent 1dfc154 commit 1f8026e

File tree

4 files changed

+17
-2
lines changed

4 files changed

+17
-2
lines changed

.github/workflows/build-common.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ jobs:
198198
- 11
199199
- 17
200200
- 21
201-
- 22
201+
- 23
202202
vm:
203203
- hotspot
204204
- openj9
@@ -209,7 +209,7 @@ jobs:
209209
- 3
210210
exclude:
211211
- vm: ${{ inputs.skip-openj9-tests && 'openj9' || '' }}
212-
- test-java-version: 22
212+
- test-java-version: 23
213213
vm: openj9
214214
fail-fast: false
215215
steps:

instrumentation/jaxrs/jaxrs-2.0/jaxrs-2.0-wildfly-testing/build.gradle.kts

+5
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ dependencies {
1818
testServer("org.wildfly:wildfly-dist:18.0.0.Final@zip")
1919
}
2020

21+
otelJava {
22+
// due to security manager deprecation this test does not work on jdk 23 with default configuration
23+
maxJavaVersionForTests.set(JavaVersion.VERSION_22)
24+
}
25+
2126
tasks {
2227
// extract wildfly dist, path is used from arquillian.xml
2328
val setupServer by registering(Copy::class) {

instrumentation/jaxws/jaxws-2.0-wildfly-testing/build.gradle.kts

+5
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ dependencies {
1919
testServer("org.wildfly:wildfly-dist:18.0.0.Final@zip")
2020
}
2121

22+
otelJava {
23+
// due to security manager deprecation this test does not work on jdk 23 with default configuration
24+
maxJavaVersionForTests.set(JavaVersion.VERSION_22)
25+
}
26+
2227
tasks {
2328
// extract wildfly dist, path is used from arquillian.xml
2429
val setupServer by registering(Copy::class) {

instrumentation/spring/spring-webmvc/spring-webmvc-3.1/wildfly-testing/build.gradle.kts

+5
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ dependencies {
2828
testServer("org.wildfly:wildfly-dist:18.0.0.Final@zip")
2929
}
3030

31+
otelJava {
32+
// due to security manager deprecation this test does not work on jdk 23 with default configuration
33+
maxJavaVersionForTests.set(JavaVersion.VERSION_22)
34+
}
35+
3136
tasks {
3237
// extract wildfly dist, path is used from arquillian.xml
3338
val setupServer by registering(Copy::class) {

0 commit comments

Comments
 (0)