> On May 4, 2017, at 2:13 PM, Alan Bateman <alan.bate...@oracle.com> wrote: > > > 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.
I intentionally avoid using it. Mandy