RFR: 8371306: JDK-8367002 behavior might not match existing HotSpot behavior.

Dean Long dlong at openjdk.org
Tue Dec 2 18:17:03 UTC 2025


On Tue, 2 Dec 2025 12:34:49 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:

>> When deoptimizing to the interpreter, we need to restore the thrown exception to the original, otherwise it might be caught by the wrong handler.  In the test case, that means restoring the original ArithmeticException instead of keeping the new/recursive IllegalAccessError.
>
> Looks good to me but I'm not an expert in this area.

Thanks @TobiHartmann .

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

PR Comment: https://git.openjdk.org/jdk/pull/28497#issuecomment-3603349515


More information about the hotspot-dev mailing list