@ Override @ Pure public URL findResource ( final String name ) { /* * The same restriction to finding classes applies to resources */ final URL url = AccessController . doPrivileged ( new PrivilegedAction < URL > ( ) { @ Override public URL run ( ) { return DynamicURLClassLoader . this . ucp . findResource ( name , true ) ; } } , this . acc ) ; return url != null ? this . ucp . checkURL ( url ) : null ; }
Finds the resource with the specified name on the URL search path .