On Mon, 13 May 2024 20:27:46 GMT, Sean Mullan <mul...@openjdk.org> wrote:

>> Kevin Driver has updated the pull request incrementally with one additional 
>> commit since the last revision:
>> 
>>   code review comments
>
> src/java.base/share/classes/com/sun/crypto/provider/HkdfKeyDerivation.java 
> line 237:
> 
>> 235:             } catch (InvalidKeyException ike) {
>> 236:                 throw new InvalidParameterSpecException(
>> 237:                     "Issue encountered when combining ikm or salt 
>> values into single keys");
> 
> add cause (ike) to exception.

What is the preferred mechanism for this? This type does not have a Throwable 
parameter, so I can't pass `ike` to the ctor.

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

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

Reply via email to