RFR: 8371306: JDK-8367002 behavior might not match existing HotSpot behavior.
Tobias Hartmann
thartmann at openjdk.org
Tue Dec 2 12:37:46 UTC 2025
On Tue, 25 Nov 2025 18:24:42 GMT, Dean Long <dlong 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.
-------------
Marked as reviewed by thartmann (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/28497#pullrequestreview-3529857530
More information about the hotspot-dev
mailing list