RFR 8130302: jarsigner and keytool -providerClass needs be re-examined for modules
Wang Weijun
weijun.wang at oracle.com
Tue Feb 23 03:28:37 UTC 2016
Webrev updated at http://cr.openjdk.java.net/~weijun/8130302/webrev.03/.
-provider and loadProviderByName() are useless for jdk9/dev, and loadProviderByClass() only uses reflection.
The SunPKCS11 compatibility line will be add in a sub-patch for jake.
--Max
> On Feb 23, 2016, at 10:25 AM, Wang Weijun <weijun.wang at oracle.com> wrote:
>
>
>>>
>>> You mean not supporting all pre-loaded providers in modules, but only one or two popular ones?
>>>
>>
>> I meant not support -providerClass for arbitrary providers loaded via service loader. The only exception is SunPKCS11. In other words, -providerClass can only be used to load legacy security provider via Class::forName.
>
> Accepted.
>
>>
>> The man page should make it clear that -provider SunPKCS11 is recommended instead of -providerClass sun.security.provider.SunPKCS11. It’s just an alias to help migration.
>
> Yes.
>
> security-dev? I still see no comment from you.
>
> Thanks
> Max
>
>>
>> Mandy
>>
>>> Thanks
>>> Max
>>>
>>>
>>>>
>>>> Mandy
>>>
>>
>
More information about the jigsaw-dev
mailing list