@BeforeClass
  public static void validOnlyOnJdk17AndLater() {
    assumeThat(JavaVersions.current().specificationVersion())
        .isGreaterThanOrEqualTo(17);
  }
Test several ways to make normally inaccessible JDK packages accessible on JDK 17.
geode-assembly/src/acceptanceTest/java/org/apache/geode/jdk/JdkEncapsulationTest.java