RFR 9: JDK-8168862:Tighten permissions granted to the jdk.zipfs module

Xueming Shen xueming.shen at oracle.com
Tue Nov 8 21:30:28 UTC 2016


On 10/31/2016 01:56 PM, Sean Mullan wrote:
> It would be good to add or modify existing test(s) to run with a Security Manager, if there is not one already.

Hi Sean,

All current zipfs tests are being run under "default" security manager as
one of their testing scenario, for example

  * @summary Test Zip filesystem provider
  * @run main ZipFSTester
  * @run main/othervm/java.security.policy=test.policy ZipFSTester
  * @modules jdk.zipfs


-sherman


>
> --Sean
>
> On 10/31/16 4:32 PM, Mandy Chung wrote:
>> +1
>> Mandy
>>
>>> On Oct 31, 2016, at 1:26 PM, Xueming Shen <xueming.shen at oracle.com> wrote:
>>>
>>> Please help review the change for
>>>
>>> issue: https://bugs.openjdk.java.net/browse/JDK-8168862
>>> webre: http://cr.openjdk.java.net/~sherman/8168862
>>>
>>> The change is to tighten the permission to read "os.name" only.
>>>
>>> Thanks,
>>> Xueming
>>



More information about the core-libs-dev mailing list