RFR: JDK-8054999 - create support for custom security policy

Alexey Konstantinov alexey.konstantinov at oracle.com
Wed Aug 13 19:12:34 UTC 2014


Hi Stas,

Looks OK to me. Probably it is not relevant to your task and it works as 
it is, but for the sake of correctness, shouldn't 
GPIOPolicy.getPermissions() return a new instance of 
PermissionCollection as the spec requires?

Thanks,
Alexey

On 8/13/2014 7:30 PM, Stas Smirnov wrote:
> issue: JDK-8054999 <https://bugs.openjdk.java.net/browse/JDK-8054999>
> webrev: http://cr.openjdk.java.net/~stsmirno/8054999/webrev/
>
> Hi All,
>
> Need a review for an update.
> These changes  add two custom classes to be able to set Policy 
> programmatically without any need to specify java.security.policy file 
> in the command line.



More information about the dio-dev mailing list