private static int currentJavaSpecificationVersion() {
    String specificationVersion = System.getProperty("java.specification.version");
    if (specificationVersion.contains(".")) {
      return Integer.parseInt(specificationVersion.split("\\.")[1]);
    }
    return Integer.parseInt(specificationVersion);
  }
Returns a predicate that tests if its argument is greater than {@code bound}.

@param bound the lower bound
@return a predicate that tests if its argument is greater than {@code bound}
geode-junit/src/main/java/org/apache/geode/test/version/JavaVersions.java