Policy providers in Java 9

Alan Bateman Alan.Bateman at oracle.com
Mon Mar 23 11:30:10 UTC 2015


On 22/03/2015 00:48, Mandy Chung wrote:
> :
>
> There are some SPIs that need adjustment to support loading the
> providers by the application class loader and the policy SPI
> should also be updated in JDK 9. 
Right, there are a few areas that need to be updated. In the case of 
java.security.Policy then it appears to have never specified how the 
policy provider is located. From what I can tell then it used to only 
load it via the boot loader but was relaxed later to allow for policy 
providers that are "installed" into the run-time image and loaded by the 
extension loader. This needs to be re-examined now and also re-examined 
to see how it will work with modules going forward.

-Alan



More information about the jigsaw-dev mailing list