private URL createURL ( final String urlString ) throws MalformedURLException { URL url ; try { url = AccessController . doPrivileged ( new PrivilegedExceptionAction < URL > ( ) { @ Override public URL run ( ) throws MalformedURLException { return new URL ( urlString ) ; } } ) ; } catch ( PrivilegedActionException e ) { throw ( MalformedURLException ) e . getCause ( ) ; } return url ; }
Create a URL in a doPriv