Review request for 8047904: Runtime.loadLibrary throws SecurityException when security manager is installed (original) (raw)
Alan Bateman Alan.Bateman at oracle.com
Tue Jun 24 16:10:51 UTC 2014
- Previous message: Review request for 8047904: Runtime.loadLibrary throws SecurityException when security manager is installed
- Next message: RFR 6642881: Improve performance of Class.getClassLoader()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: Review request for 8047904: Runtime.loadLibrary throws SecurityException when security manager is installed
- Next message: RFR 6642881: Improve performance of Class.getClassLoader()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]