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

Wang Weijun weijun.wang at oracle.com
Wed Jun 15 15:40:27 UTC 2016


> On Jun 15, 2016, at 10:57 PM, Mandy Chung <mandy.chung at oracle.com> wrote:
> 
>>> 241             throw (InvalidParameterException)
>>> 
>>> This cast should not be needed?
>>> 
>> 
>> } catch (UcryptoException ue) {
>>   throw (InvalidParameterException)
>>       new InvalidParameterException("Error using " + configArg).
>>           initCause(ue.getCause());
>> }
>> 
>> initCause() returns Throwable but the method's signature throws InvalidParameterException.
>> 
> 
> Perhaps have a local variable for InvalidParameterException exception.

Valerie, are you OK with this?

--Max

> 
> Mandy




More information about the security-dev mailing list