Integrated: 8357172: Extend try block in nsk/jdi tests to capture exceptions thrown by Debuggee.classByName()

Chris Plummer cjplummer at openjdk.org
Fri May 30 20:16:59 UTC 2025


On Tue, 20 May 2025 20:10:20 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:

> Extend try block to cover debuggee.classByname() call. I would suggest disabling whitespace diffs when doing the review. It makes code movement and deletions more obvious.
> 
> There are a number of places where I removed a try/catch of InterruptedException around a Thread.sleep. This will now be handled by the outer try which was moved to before this try/catch.
> 
> Tested nsk/jdi test locally. Will do more thorough ci testing.

This pull request has now been integrated.

Changeset: 14e41ab0
Author:    Chris Plummer <cjplummer at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/14e41ab055955ffd7cf9e8129cc3269b4e3807b7
Stats:     514 lines in 22 files changed: 145 ins; 199 del; 170 mod

8357172: Extend try block in nsk/jdi tests to capture exceptions thrown by Debuggee.classByName()

Reviewed-by: lmesnik, sspitsyn

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

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


More information about the serviceability-dev mailing list