On Thu, 8 Aug 2024 19:29:41 GMT, Valerie Peng <valer...@openjdk.org> wrote:

>> Same goes for other {@code Object.requireNonNull()} calls
>
> Why do the null check on {@code provider} here? For consistency sake, since 
> both {@code algorithm} and {@code provider} are checked for non-null inside 
> {@code getInstance(String, KDFParameters, String), you should either check 
> both for non-null or leave it to the 3-arg getInstance() call.

Addressed in 
https://github.com/openjdk/jdk/pull/20301/commits/c6f491cd05c76088e6431b2ba9d4ab42b29e4055.
 Please indicate if this is resolved.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/20301#discussion_r1720350415

Reply via email to