protected Class findClass(String name) throws ClassNotFoundException {
  ClassManagerImpl bcm=(ClassManagerImpl)getClassManager();
  ClassLoader cl=bcm.getLoaderForClass(name);
  Class c;
  if (cl != null && cl != this)   try {
    return cl.loadClass(name);
  }
 catch (  ClassNotFoundException e) {
    throw new ClassNotFoundException("Designated loader could not find class: " + e);
  }
  if (getURLs().length > 0)   try {
    return super.findClass(name);
  }
 catch (  ClassNotFoundException e) {
  }
  cl=bcm.getBaseLoader();
  if (cl != null && cl != this)   try {
    return cl.loadClass(name);
  }
 catch (  ClassNotFoundException e) {
  }
  return bcm.plainClassForName(name);
}

protected Class findClass ( String name ) throws ClassNotFoundException { ClassManagerImpl bcm = ( ClassManagerImpl ) getClassManager ( ) ; ClassLoader cl = bcm . getLoaderForClass ( name ) ; Class c ; if ( cl != null && cl != this ) try { return cl . loadClass ( name ) ; } catch ( ClassNotFoundException e ) { throw new ClassNotFoundException ( "Designated loader could not find class: " + e ) ; } if ( getURLs ( ) . length > 0 ) try { return super . findClass ( name ) ; } catch ( ClassNotFoundException e ) { } cl = bcm . getBaseLoader ( ) ; if ( cl != null && cl != this ) try { return cl . loadClass ( name ) ; } catch ( ClassNotFoundException e ) { } return bcm . plainClassForName ( name ) ; }
find the correct source for the class . . . try designated loader if any try our urlclassloader paths if any try base loader if any try system ? ? ?
