RFR: 6227536: KeyGenerator.init() methods do not throw IllegalArgumentException for keysize == 0 [v2]

Kevin Driver kdriver at openjdk.org
Thu Jul 28 21:47:43 UTC 2022


On Thu, 28 Jul 2022 20:56:17 GMT, Sean Mullan <mullan at openjdk.org> wrote:

>> 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.

@seanjmullan I thought about this, but I added it due to the bug describing that this would be implementation-specific rather than framework-specific. I can take it out.

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

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



More information about the security-dev mailing list