private static Stream<VmConfiguration> currentJavaWithEachCompatibleOldGeode() {
    return VersionManager.getInstance().getVersionsWithoutCurrent().stream()
        .map(TestVersion::valueOf)
        .filter(isCompatibleWithCurrentJava())
        .map(VmConfiguration::forGeodeVersion);
  }
Returns a predicate that applies {@code predicate} to a configuration's Java version.

@param predicate a Java version predicate
@return a predicate that applies {@code predicate} to a configuration's Java version
geode-junit/src/main/java/org/apache/geode/test/version/VmConfigurations.java