public boolean isJava8Compatible() {
    return javaSpecVersionNumber.getMajor() > 1 || javaSpecVersionNumber.getMinor() >= 8;
  }
Tells whether the Java version is compatible with Java 8.

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