code: protected Class resolveClass(ObjectStreamClass classDesc)
              throws IOException, ClassNotFoundException {
          String className = classDesc.getName();
          try {
              return loader.loadClass(className);
          } catch (ClassNotFoundException exp) {
              return super.resolveClass(classDesc);
          }
      }
docs: Use the given ClassLoader rather than using the system class