RFR: 8322981: Fix 2 locations in JDI that throw IOException without using the "Caused by" exception
David Holmes
dholmes at openjdk.org
Thu Jan 4 06:59:20 UTC 2024
On Thu, 4 Jan 2024 02:00:24 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:
> 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.
Setting the cause is good, but do you not also want an informative message?
-------------
PR Review: https://git.openjdk.org/jdk/pull/17258#pullrequestreview-1803590345
More information about the serviceability-dev
mailing list