101102103104105106107108
// this is to make the stack depth consistent with 1.1 SecurityManager security = System.getSecurityManager(); if (security != null) { security.checkCreateClassLoader(); } ucp = new URLClassPath(urls); this.acc = AccessController.getContext(); }
145146147148149150151152
156157158159160161162163
// this is to make the stack depth consistent with 1.1 SecurityManager security = System.getSecurityManager(); if (security != null) { security.checkCreateClassLoader(); } ucp = new URLClassPath(urls); this.acc = acc; }
189190191192193194195196
// this is to make the stack depth consistent with 1.1 SecurityManager security = System.getSecurityManager(); if (security != null) { security.checkCreateClassLoader(); } ucp = new URLClassPath(urls, factory); acc = AccessController.getContext(); }
192193194195196197198199200201202
if (jarsClosed != null) { jarsClosed.clear(); } URLClassPath ucp = (URLClassPath) jcpField.get(classLoader); ArrayList loaders = (ArrayList) loadersField.get(ucp); Stack urls = (Stack) urlsField.get(ucp); HashMap lmap = (HashMap) lmapField.get(ucp); /*
164165166167168169170171
*/ protected EnhancerClassLoader(URL[] urls, ClassLoader loader) { super(urls, loader); acc = AccessController.getContext(); ucp = new URLClassPath(urls); checkUCP(urls); }
129212931294129512961297129812991300
/** * Find resources from the VM's built-in classloader. */ private static URL getBootstrapResource(String name) { URLClassPath ucp = getBootstrapClassPath(); Resource res = ucp.getResource(name); return res != null ? res.getURL() : null; }
57585960616263
catch (MalformedURLException e) { throw new UndeclaredThrowableException(e); } } _classPath = new URLClassPath(urls); }
195196197198199200201202203204205
9899100101102103104105