Integrated: 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.

This pull request has now been integrated.

Changeset: ac81ce51
Author:    Chris Plummer <cjplummer at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/ac81ce51fa4ed04b6dbcc28cb2dd8eabcfe52ad7
Stats:     11 lines in 1 file changed: 9 ins; 0 del; 2 mod

8372555: Test com/sun/jdi/ExceptionEvents.java failed: ObjectCollectedException

Reviewed-by: amenkov, dholmes

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

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


More information about the serviceability-dev mailing list