Skip to content

Commit 2577ac3

Browse files
committed
Refined spring-oxm test execution check for compatibility with the recently announced JDK 9 version scheme
Issue: SPR-13012
1 parent 34de167 commit 2577ac3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ project("spring-oxm") {
556556
targetCompatibility = 1.6
557557
}
558558

559-
if (System.getProperty("java.version").contains("1.9.")) {
559+
if (!System.getProperty("java.version").contains("1.8.")) {
560560
// necessary because castor and xjc tasks cannot find the JDK's compiler on JDK 9
561561
compileTestJava.enabled = false
562562
}

0 commit comments

Comments
 (0)