On Mon, 26 Aug 2024 17:48:39 GMT, Weijun Wang <wei...@openjdk.org> wrote:
>> Kevin Driver has updated the pull request incrementally with one additional >> commit since the last revision: >> >> code review comments and test renaming > > src/java.base/share/classes/javax/crypto/KDFSpi.java line 54: > >> 52: * {@code KDFParameters} may throw an {@code >> InvalidAlgorithmParameterException} >> 53: * upon receiving a {@code null} value. Furthermore, implementations >> 54: * may supply default values for {@code KDFParameters}, mutating the > > The `mutating` word is suspicious. The object is very likely to be immutable. > Just say a different object should be returned in the next sentence. This depends on the implementation. It may be just as inaccurate to say "a different object". ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/20301#discussion_r1731634588