public boolean isJava29Compatible() {
    return javaSpecVersionNumber.getMajor() >= 29;
  }
Tells whether the Java version is compatible with Java 29.

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