RFR: 8331008: Implement JEP 478: Key Derivation Function API (Preview) [v15]

Kevin Driver kdriver at openjdk.org
Thu Sep 5 22:41:22 UTC 2024


On Wed, 4 Sep 2024 15:32:47 GMT, Kevin Driver <kdriver at openjdk.org> wrote:

>> 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).

Added some debug messages to provide additional information in this case. See: https://github.com/openjdk/jdk/pull/20301/commits/59b1743fd225ff34e6bcce055fd47a887ed22a08.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/20301#discussion_r1746254836


More information about the security-dev mailing list