Review request for 8047904: Runtime.loadLibrary throws SecurityException when security manager is installed
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/ thanks Mandy
On Jun 23, 2014, at 10:23 PM, Mandy Chung <mandy.chung@oracle.com> 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/
Looks ok to me. Paul.
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
participants (3)
-
Alan Bateman
-
Mandy Chung
-
Paul Sandoz