ClassLoader loader = getClassLoader();
ClassLoader loader = type.getClassLoader();
  public InputStream getResourceAsStream(String resName) {    ClassLoader loader = getClassLoader();    if (loader == VM_SystemClassLoader.getVMClassLoader())      return ClassLoader.getSystemResourceAsStream(toResourceName(resName));    else      return loader.getResourceAsStream(toResourceName(resName));  }