RFR 8130302: jarsigner and keytool -providerClass needs be re-examined for modules

Wang Weijun weijun.wang at oracle.com
Thu Jun 30 13:44:21 UTC 2016


Hi Sean

Thanks for the comment. This exception is thrown by a helper class, which is then caught by the application class and a new localized error message including the provider name is shown to the user. Is that enough?

Thanks
Max


> On Jun 30, 2016, at 6:59 PM, Seán Coffey <sean.coffey at oracle.com> wrote:
> 
> minor comment from me Max. 
> src/java.base/share/classes/sun/security/tools/KeyStoreUtil.java
> 
> 
>>  293         throw new IllegalArgumentException("No provider found");
> Can you print the provider name that was being searched for in your exception ?
> 
> 
> Regards, 
> Sean.
>>>> 

>>>> http://cr.openjdk.java.net/~weijun/8130302/webrev.06




More information about the security-dev mailing list