RFR: 8372555: Test com/sun/jdi/ExceptionEvents.java failed: ObjectCollectedException
Chris Plummer
cjplummer at openjdk.org
Mon Dec 8 15:41:17 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 to this bug.
Thank you for the reviews David and Alex!
-------------
PR Comment: https://git.openjdk.org/jdk/pull/28652#issuecomment-3627536690
More information about the serviceability-dev
mailing list