public boolean isJava9() {
    return "9".equals(javaSpecVersion);
  }
Tells whether the Java version is 9.

@return whether the Java version is 9
spock-core/src/main/java/spock/util/environment/Jvm.java