* @return the JavaClassLoader object representing the system classloader.
*/
protected JavaClassLoader getBootClassLoader() {
JavaRuntime run = getJavaRuntime();
// Find the bootstrap loader using the idea that it it the only loader to have loaded itself
JavaClassLoader bootLoader = null;
HashMap loaders = new HashMap();
for (Iterator i = run.getJavaClassLoaders().iterator(); i.hasNext();) {
Object next = i.next();
if (next instanceof CorruptData) {
continue;
}
JavaClassLoader jcl = (JavaClassLoader)next;