// This is the only way to instantiate a "bootstrap" class loader, i.e. a class loader
// that finds the bootstrap classes like "Object", "String" and "Throwable", but not
// the classes on the JVM's class path.
cl = new ClassLoader(null) {};
cl = new ResourceFinderClassLoader(bootClassPathResourceFinder, cl);
cl = new ResourceFinderClassLoader(extensionDirectoriesResourceFinder, cl);
cl = new ResourceFinderClassLoader(classPathResourceFinder, cl);
return new ClassLoaderIClassLoader(cl);
}
}