On Wed, 4 Sep 2024 15:32:47 GMT, Kevin Driver <kdri...@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

Reply via email to