Resolve a class specified by the descriptor using the
specified ClassLoader or the super ClassLoader.
Class clazz = Class.forName(objectStreamClass.getName(), false, classLoader);
if (clazz != null) {
// the classloader knows of the class
return clazz;
} else {
// classloader knows not of class, let the super classloader do it
return super.resolveClass(objectStreamClass);
}