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

David Holmes dholmes at openjdk.org
Wed Dec 3 04:21:56 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.

Seems simple enough, but also not an expert here.

Thanks

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

Marked as reviewed by dholmes (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/28497#pullrequestreview-3533115624


More information about the hotspot-dev mailing list