ClassLoader loader = Thread.currentThread().getContextClassLoader();   try { return loader.loadClass (name); } catch (ClassNotFoundException e) {  }  if (codebases.length() == 0) { loader = defaultLoader; } else { loader = getClassLoader(codebases); }  if (loader == null) {  throw new ClassNotFoundException ("Could not find class (" + name + ") at codebase (" + codebases + ")"); }  return loader.loadClass (name);
return loadClass ("", name);
  public static Class loadClass (String codebases, String name)    throws MalformedURLException, ClassNotFoundException  {    ClassLoader loader = Thread.currentThread().getContextClassLoader();    //try context class loader first    try       {        return loader.loadClass (name);      }    catch (ClassNotFoundException e)      {        // class not found in the local classpath      }    if (codebases.length() == 0) //==""      {        loader = defaultLoader;      }    else      {        loader = getClassLoader(codebases);      }    if (loader == null)      {        //do not throw NullPointerException        throw new ClassNotFoundException ("Could not find class (" + name +                                          ") at codebase (" + codebases + ")");      }          return loader.loadClass (name);  }