Skip to content

Commit 37b145b

Browse files
authoredFeb 14, 2024
Remove disabling spring-boot-autoconfigure tests on openj9 18 (#10551)
1 parent 32b3326 commit 37b145b

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed
 

‎instrumentation/spring/spring-boot-autoconfigure/build.gradle.kts

-8
Original file line numberDiff line numberDiff line change
@@ -127,13 +127,5 @@ tasks {
127127
// required on jdk17
128128
jvmArgs("--add-opens=java.base/java.lang=ALL-UNNAMED")
129129
jvmArgs("-XX:+IgnoreUnrecognizedVMOptions")
130-
131-
// disable tests on openj9 18 because they often crash JIT compiler
132-
val testJavaVersion = gradle.startParameter.projectProperties["testJavaVersion"]?.let(JavaVersion::toVersion)
133-
val testOnOpenJ9 = gradle.startParameter.projectProperties["testJavaVM"]?.run { this == "openj9" }
134-
?: false
135-
if (testOnOpenJ9 && testJavaVersion?.majorVersion == "18") {
136-
enabled = false
137-
}
138130
}
139131
}

0 commit comments

Comments
 (0)