protected synchronized Class loadClass ( final String name , boolean resolve ) throws ClassNotFoundException { Class c = this . findLoadedClass ( name ) ; if ( c != null ) return c ; c = ( Class ) customClasses . get ( name ) ; if ( c != null ) return c ; try { c = oldFindClass ( name ) ; } catch ( ClassNotFoundException cnfe ) { // IGNORE } if ( c == null ) c = super . loadClass ( name , resolve ) ; if ( resolve ) resolveClass ( c ) ; return c ; }
loads a class using the name of the class