Code example for ObjectStreamClass

Methods: getName

0
    @Override 
    public Class resolveClass(ObjectStreamClass desc) throws IOException, ClassNotFoundException {
        try { 
            return super.resolveClass(desc);
        } catch (ClassNotFoundException e) {
            return Class.forName(desc.getName(), true, currentTccl);
        } 
    } 
 
}