RFR: 8331008: Implement JEP 478: Key Derivation Function API (Preview) [v15]
Kevin Driver
kdriver at openjdk.org
Wed Sep 4 15:35:41 UTC 2024
On Tue, 3 Sep 2024 22:14:29 GMT, Weijun Wang <weijun at openjdk.org> wrote:
>> Addressed in https://github.com/openjdk/jdk/pull/20301/commits/e4400b6edaf69d08726a63e2a705784c731648db. Please confirm if resolved.
>
> In the `catch (NoSuchAlgorithmException e)` block, you assign a brand new exception to `lastException` and info in `e` is lost. What does `e` look like? Can you directly assign it to `lastException`?
The reason I create a new NSAE here is because `e` cannot be edited (have its cause overwritten to a new IAPE with a different message).
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/20301#discussion_r1744016811
More information about the security-dev
mailing list