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

Dean Long dlong at openjdk.org
Wed Dec 3 09:05:08 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.

This pull request has now been integrated.

Changeset: a1e86941
Author:    Dean Long <dlong at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/a1e8694109ad87690e18fc03d17b6b9519092d81
Stats:     13 lines in 3 files changed: 10 ins; 0 del; 3 mod

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

Reviewed-by: thartmann, dholmes

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

PR: https://git.openjdk.org/jdk/pull/28497


More information about the hotspot-dev mailing list