Refined spring-oxm test execution check for compatibility with the recently announced JDK 9 version scheme

Issue: SPR-13012
This commit is contained in:
Juergen Hoeller 2015-07-15 15:21:37 +02:00
parent 34de167e59
commit 2577ac300b
1 changed files with 1 additions and 1 deletions

View File

@ -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
}