Review Request: JDK-8179645: java.util.jar.Packer.newPacker and newUnpacker fails when running with security manager
Alan Bateman
Alan.Bateman at oracle.com
Thu May 4 21:13:11 UTC 2017
On 04/05/2017 21:35, Mandy Chung wrote:
> java.util.jar.Packer.newPacker and newUnpacker fails when running
> with security manager. It is an existing bug but we uncovers this
> only now because a new RuntimePermission “accessSystemModules” is
> required to access resources from the system image.
>
> Webrev:
> http://cr.openjdk.java.net/~mchung/jdk9/webrevs/8179645/webrev.00/index.html
>
>
Another option for the properties is
GetPropertyAction.privilegedGetProperty but what you have is okay too.
-Alan
More information about the core-libs-dev
mailing list