@Override
    public Class loadClass(String name) throws ClassNotFoundException {
      return loadClass(name, false);
    }
A serializable with a writeReplace method should use standard serialization.
geode-core/src/integrationTest/java/org/apache/geode/pdx/AutoSerializableJUnitTest.java