On Wed, 26 Jun 2024 17:26:52 GMT, Chris Plummer <cjplum...@openjdk.org> wrote:

> Allow ObjectCollectedException during ThreadReference.toString() call. This 
> can happen when using SUSPEND_NONE since the thread continues to run after 
> hitting the breakpoint.
> 
> So far I've just run the test locally. I'll run the full suite of debugger 
> tests before committing. Note I don't know how to reproduce the filed issue. 
> We have not seen this turn up in our CI yet, but theoretically the 
> ObjectCollectedException can happen.

This pull request has now been integrated.

Changeset: 4e8cbf88
Author:    Chris Plummer <cjplum...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/4e8cbf884ab1eee9c3110712ab62edc706e948ba
Stats:     9 lines in 1 file changed: 8 ins; 0 del; 1 mod

8335134: Test com/sun/jdi/BreakpointOnClassPrepare.java timeout

Reviewed-by: kevinw, coleenp

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

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

Reply via email to