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

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