Review request: JDK-8043277: Update jdk regression tests to extend the default security policy instead of override

Chris Hegarty chris.hegarty at oracle.com
Thu Oct 23 13:28:20 UTC 2014


This looks good to me Mandy, and nice to see the superfluous grants being removed.

-Chris.

On 23 Oct 2014, at 02:08, Mandy Chung <mandy.chung at oracle.com> wrote:

> jtreg policy option overrides the system security policy file and hence
> some existing test policy files have to duplicate the entries to grant
> permissions for JDK.
> 
> jtreg has been enhanced to provide "java.security.policy" option to
> specify using the specified policy file in the same way as
> -Djava.security.policy=<policy file> to extend the system security
> policy.   The current jtreg "policy" option actually translates
> to -Djava.security.policy==<policy file> (double equals) to
> override the system security policy.
> 
> This patch updates several tests to use the new java.security.policy
> options along with removing the duplicated entries from the test policy files.
> 
> Webrev:
>  http://cr.openjdk.java.net/~mchung/jdk9/webrevs/8043277/webrev.00/
> 
> thanks
> Mandy
> [1] https://bugs.openjdk.java.net/browse/CODETOOLS-7900898
> 




More information about the core-libs-dev mailing list