RFR: JDK-8075706 : Policy implementation does not allow policy.provider to be on the class path

Mandy Chung mandy.chung at oracle.com
Fri May 8 23:13:03 UTC 2015

On 05/05/2015 02:37 PM, Sean Mullan wrote:
> So here is the new webrev:
> http://cr.openjdk.java.net/~mullan/webrevs/8075706/webrev.02/ 

It now instantiates the built-in policy file class if "policy.provider" 
not set at the beginning.  Is it really necessary to load the custom 
policy provider class with boot loader first and then system class 
loader if not found?  I wonder if this can be simplified to use system 
class loader directly.  There might be some history hiding there?

Nit: With diamond with anonymous classes support, you can simply use <>.


More information about the security-dev mailing list