On Thu, 9 May 2024 15:17:17 GMT, Weijun Wang <wei...@openjdk.org> wrote:

>> Kevin Driver has updated the pull request incrementally with two additional 
>> commits since the last revision:
>> 
>>  - method reuse
>>  - null/boundary/modifiability checks
>
> src/java.base/share/classes/javax/crypto/spec/HKDFParameterSpec.java line 96:
> 
>> 94:                     + "been called");
>> 95:             }
>> 96:             return extractExpand(new Extract(List.copyOf(ikms), 
>> List.copyOf(salts)), info, length);
> 
> You can reuse `extractOnly` method here.

see: beb8f6f8519

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

PR Review Comment: https://git.openjdk.org/jdk/pull/18924#discussion_r1598727137

Reply via email to