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

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