RFR: 8372555: Test com/sun/jdi/ExceptionEvents.java failed: ObjectCollectedException
Alex Menkov
amenkov at openjdk.org
Thu Dec 4 22:22:44 UTC 2025
On Thu, 4 Dec 2025 02:07:55 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:
> When the test receives an ExceptionEvent, the exception object can be collected if the SUSPEND_NONE policy is being used, resulting in an ObjectCollectedException when referencing event.exception(). The exception should be handled and not cause the test to fail.
>
> I'm not sure if this fixes all the issues with 8372555. I suspect there is something else going on that has a side affect of triggering the collection of the exception object, but this is at least a first step towards figuring out if there is more too this bug.
Marked as reviewed by amenkov (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/28652#pullrequestreview-3542349135
More information about the serviceability-dev
mailing list