Review request for 8047904: Runtime.loadLibrary throws SecurityException when security manager is installed

Alan Bateman Alan.Bateman at oracle.com
Tue Jun 24 16:10:51 UTC 2014


On 23/06/2014 21:23, Mandy Chung wrote:
> The loadLibrary implementation is missing to wrap the call
> to File.getCanonicalPath  method with doPrivileged block.
>
> Webrev:
> http://cr.openjdk.java.net/~mchung/jdk9/webrevs/8047904/webrev.00/
I think this is okay too, one shouldn't require anymore than the runtime 
permission "loadLibrary."+lib.

-Alan



More information about the core-libs-dev mailing list