On Tue, 14 May 2024 00:12:23 GMT, Weijun Wang <wei...@openjdk.org> wrote:
>> What would we say in the javadoc? We throw `null` temporarily, since there >> are no known algorithms that support parameters? We may not want to issue a >> change/fix if this becomes no longer the case (ie- some provider besides us >> offers one). > > This is inside the HKDF impl, and we know params is not required. The params > is provided through `getInstance(alg, params)`. Just throw > `InvalidAlgorithmParameterException` as specified there. Ah, my mistake. Overlooked the classname. 😰 ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/18924#discussion_r1599283176