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

Mandy Chung mandy.chung at
Thu Oct 23 01:08:21 UTC 2014

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 "" option to
specify using the specified policy file in the same way as<policy file> to extend the system security
policy.   The current jtreg "policy" option actually translates
to<policy file> (double equals) to
override the system security policy.

This patch updates several tests to use the new
options along with removing the duplicated entries from the test policy files.



More information about the core-libs-dev mailing list