RFR: 8357172: Extend try block in nsk/jdi tests to capture exceptions thrown by Debuggee.classByName()
Chris Plummer
cjplummer at openjdk.org
Tue May 20 20:22:36 UTC 2025
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.
-------------
Commit messages:
- Extend try block to cover debuggee.classByname() call
Changes: https://git.openjdk.org/jdk/pull/25337/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=25337&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8357172
Stats: 514 lines in 22 files changed: 145 ins; 199 del; 170 mod
Patch: https://git.openjdk.org/jdk/pull/25337.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/25337/head:pull/25337
PR: https://git.openjdk.org/jdk/pull/25337
More information about the serviceability-dev
mailing list