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