On Mon, 13 May 2024 09:06:34 GMT, Alan Bateman <al...@openjdk.org> wrote:
>> Kevin Driver has updated the pull request incrementally with one additional >> commit since the last revision: >> >> re-enable preview annotations > > src/java.base/share/classes/javax/crypto/spec/HKDFParameterSpec.java line 332: > >> 330: * @return the optional context and application specific >> information >> 331: */ >> 332: public byte[] info() { > > I think the API docs will need to say that it returns a copy of the > context/info, don't want readers to assume that an Expand object is mutable > by way to modifying the byte[]. see: 05604208333 ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/18924#discussion_r1598916843