Here you can find the source of getParentClassLoader()
public static URLClassLoader getParentClassLoader()
//package com.java2s; import java.net.URLClassLoader; public class Main { public static URLClassLoader getParentClassLoader() { return (URLClassLoader) ClassLoader.getSystemClassLoader(); }//from w w w. java 2s. co m }