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

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