RFR: 8340327: A common framework to support public key algorithms with standard parameter sets [v6]

Sean Mullan mullan at openjdk.org
Mon Oct 7 17:03:38 UTC 2024


On Fri, 4 Oct 2024 20:06:49 GMT, Kevin Driver <kdriver at openjdk.org> wrote:

>> We only have child classes inside JDK, therefore if the convention is not followed, it's treated as a programming error. In other cases when the input argument are from users we need to be prepared for any invalid input and we treat them as runtime exceptions.
>
> Thanks for the explanation.

So maybe you should also throw `AssertionError` if `fname` is `null` to be consistent.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21167#discussion_r1790564315


More information about the security-dev mailing list