@Before
  public void setUp() {
    if (isJavaVersionAtLeast(JAVA_1_8) && isJavaVersionAtMost(JAVA_1_8)) {
      apiPackage = ApiPackage.SUN_MISC;
    }

    if (isJavaVersionAtLeast(JAVA_9)) {
      apiPackage = ApiPackage.JAVA_IO;
    }
  }
This test calls the real setSerialFilter which can only be set once within a JVM, so it's in an
integration test which forks a new JVM for the test class.
geode-serialization/src/integrationTest/java/org/apache/geode/internal/serialization/filter/ReflectiveObjectInputFilterApiSetFilterNullIntegrationTest.java