return super.loadClassDirect( className );
/** Load a class. * * @param name The name of the class to load. * * @return The loaded class. * * @throws ClassNotFoundException If the class cannot be found. */ Class loadClassDirect( String name ) throws ClassNotFoundException { // 1. Try this realm's ClassLoader. // 2. If the realm has a parent try the parent's ClassLoader. Class clazz = null; try { clazz = this.classLoader.loadClassDirect( name ); } catch ( ClassNotFoundException cnfe1 ) { if ( getParent() != null ) { clazz = getParent().getClassLoader().loadClass( name ); } else { throw cnfe1; } } return clazz; }
return classLoader.loadClassDirect( name ); return classLoader.loadClassDirect( name );