Review Request: loading JCE providers using ServiceLoader
mark.reinhold at oracle.com
mark.reinhold at oracle.com
Mon Jul 23 09:39:11 PDT 2012
2012/7/22 13:20 -0700, sean.mullan at oracle.com:
> On 7/22/12 10:09 AM, Alan Bateman wrote:
>> If so then it's a minor that we need to
>> re-visit the issue of configured preferred order. If we did that then
>> maybe it could be used in class path mode, assuming we could work out a
>> migration from the existing java.security list.
>
> Actually, the preference order in the java.security file is preserved in either
> classpath or module mode, since this order is enforced in the provider code
> (sun.security.jca.ProviderList). It uses the ServiceLoader to find the Provider,
> but ignores the order.
So what happens if a provider is available as a service but isn't
mentioned in the java.security file? Is it ignored?
- Mark
More information about the jigsaw-dev
mailing list