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

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