Refined spring-oxm test execution check for compatibility with the recently announced JDK 9 version scheme
Issue: SPR-13012
This commit is contained in:
parent
34de167e59
commit
2577ac300b
|
@ -556,7 +556,7 @@ project("spring-oxm") {
|
|||
targetCompatibility = 1.6
|
||||
}
|
||||
|
||||
if (System.getProperty("java.version").contains("1.9.")) {
|
||||
if (!System.getProperty("java.version").contains("1.8.")) {
|
||||
// necessary because castor and xjc tasks cannot find the JDK's compiler on JDK 9
|
||||
compileTestJava.enabled = false
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue