RFR: 8322981: Fix 2 locations in JDI that throw IOException without using the "Caused by" exception

Chris Plummer cjplummer at openjdk.org
Thu Jan 4 02:07:47 UTC 2024


Use "cause" argument when rethrowing an exception. See CR for details on how this helps.

Tested with all of tier1, and also ran tier2 and tier4 svc tests.

I'd like to push this as a trivial change.

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

Commit messages:
 - Use "cause" argument when rethrowing an exception

Changes: https://git.openjdk.org/jdk/pull/17258/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=17258&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8322981
  Stats: 4 lines in 2 files changed: 0 ins; 0 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/17258.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/17258/head:pull/17258

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


More information about the serviceability-dev mailing list