Program: 64193
Project: 64193
Buggy source:
/** 
 * Loads a class with this class loader. This class attempts to load the class in an order determined by whether or not the class matches the system/loader package lists, with the loader package list taking priority. If the classloader is in isolated mode, failure to load the class in this loader will result in a ClassNotFoundException.
 * @param classname The name of the class to be loaded.Must not be <code>null</code>.
 * @param resolve <code>true</code> if all classes upon which this classdepends are to be loaded.
 * @return the required Class object
 * @exception ClassNotFoundException if the requested class does not existon the system classpath (when not in isolated mode) or this loader's classpath.
 */
protected synchronized Class loadClass(String classname,boolean resolve) throws ClassNotFoundException {
  Class theClass=findLoadedClass(classname);
  if (theClass != null) {
    return theClass;
  }
  if (isParentFirst(classname)) {
    try {
      theClass=findBaseClass(classname);
      log("String_Node_Str" + classname + "String_Node_Str"+ "String_Node_Str",Project.MSG_DEBUG);
    }
 catch (    ClassNotFoundException cnfe) {
      theClass=findClass(classname);
      log("String_Node_Str" + classname + "String_Node_Str"+ "String_Node_Str",Project.MSG_DEBUG);
    }
  }
 else {
    try {
      theClass=findClass(classname);
      log("String_Node_Str" + classname + "String_Node_Str",Project.MSG_DEBUG);
    }
 catch (    ClassNotFoundException cnfe) {
      if (isolated) {
        throw cnfe;
      }
      theClass=findBaseClass(classname);
      log("String_Node_Str" + classname + "String_Node_Str",Project.MSG_DEBUG);
    }
  }
  if (resolve) {
    resolveClass(theClass);
  }
  return theClass;
}

Fixed version (ground truth):
/** 
 * Loads a class with this class loader. This class attempts to load the class in an order determined by whether or not the class matches the system/loader package lists, with the loader package list taking priority. If the classloader is in isolated mode, failure to load the class in this loader will result in a ClassNotFoundException.
 * @param classname The name of the class to be loaded.Must not be <code>null</code>.
 * @param resolve <code>true</code> if all classes upon which this classdepends are to be loaded.
 * @return the required Class object
 * @exception ClassNotFoundException if the requested class does not existon the system classpath (when not in isolated mode) or this loader's classpath.
 */
protected synchronized Class loadClass(String classname,boolean resolve) throws ClassNotFoundException {
  Class theClass=findLoadedClass(classname);
  if (theClass != null) {
    return theClass;
  }
  if (isParentFirst(classname)) {
    try {
      theClass=findBaseClass(classname);
      log("String_Node_Str" + classname + "String_Node_Str"+ "String_Node_Str",Project.MSG_DEBUG);
    }
 catch (    ClassNotFoundException cnfe) {
      theClass=findClass(classname);
      log("String_Node_Str" + classname + "String_Node_Str"+ "String_Node_Str",Project.MSG_DEBUG);
    }
  }
 else {
    try {
      theClass=findClass(classname);
      log("String_Node_Str" + classname + "String_Node_Str",Project.MSG_DEBUG);
    }
 catch (    ClassNotFoundException cnfe) {
      if (ignoreBase) {
        throw cnfe;
      }
      theClass=findBaseClass(classname);
      log("String_Node_Str" + classname + "String_Node_Str",Project.MSG_DEBUG);
    }
  }
  if (resolve) {
    resolveClass(theClass);
  }
  return theClass;
}