On Thu, 28 Jul 2022 20:54:08 GMT, Sean Mullan <mul...@openjdk.org> wrote:

>> src/java.base/share/classes/com/sun/crypto/provider/HmacMD5KeyGenerator.java 
>> line 93:
>> 
>>> 91: 
>>> 92:         if (keysize <= 0) {
>>> 93:             throw new IllegalArgumentException("keysize must not be <= 
>>> 0 for SunJCE");
>> 
>> < 80 chars please
>
> The "for SunJCE" is odd to see in an exception message, I would leave that 
> out.

A stack trace of the exception should be sufficient to tell what provider/code 
is generating it.

-------------

PR: https://git.openjdk.org/jdk/pull/9679

Reply via email to