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

Dean Long dlong at openjdk.org
Wed Dec 3 09:05:06 UTC 2025


On Wed, 3 Dec 2025 04:19:10 GMT, David Holmes <dholmes 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

Thanks @dholmes-ora .

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

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


More information about the hotspot-dev mailing list