protected synchronized Class loadClass(String name, boolean resolve) throws
  java.lang.ClassNotFoundException  {
    if (!name.equals(this.name)) {
      if (parent!=null) 
        return parent.loadClass(name);
      else
        return findSystemClass(name);
    } else {
      if(c==null) {
        c = defineClass(name,bytes, 0, bytes.length,this.getClass().getProtectionDomain());
        if (resolve) resolveClass(c);
      }
      return c;
    }
  };