Review Request: JDK-8179645: java.util.jar.Packer.newPacker and newUnpacker fails when running with security manager
Kumar Srinivasan
kumar.x.srinivasan at oracle.com
Thu May 4 22:33:11 UTC 2017
On 5/4/2017 2:52 PM, Mandy Chung wrote:
>> On May 4, 2017, at 2:13 PM, Alan Bateman <alan.bateman at 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.
Looks ok to me.
Thanks
Kumar
>
> Mandy
More information about the core-libs-dev
mailing list