ClassLoader loader = getClassLoader();
ClassLoader loader = type.getClassLoader();
  public URL getResource(String resName) {    ClassLoader loader = getClassLoader();    if (loader == VM_SystemClassLoader.getVMClassLoader())      return ClassLoader.getSystemResource(toResourceName(resName));    else      return loader.getResource(toResourceName(resName));  }