On Tue, 3 Sep 2024 22:14:29 GMT, Weijun Wang <wei...@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

Reply via email to