RFR: 8274945: Cleanup unnecessary calls to Throwable.initCause() in java.desktop
Andrey Turbanov
github.com+741251+turbanoff at openjdk.java.net
Fri Oct 8 07:20:21 UTC 2021
Pass cause exception as constructor parameter is shorter and easier to read.
-------------
Commit messages:
- [PATCH] Cleanup unnecessary calls to Throwable.initCause() in java.desktop module
Changes: https://git.openjdk.java.net/jdk/pull/5847/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=5847&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8274945
Stats: 21 lines in 4 files changed: 0 ins; 15 del; 6 mod
Patch: https://git.openjdk.java.net/jdk/pull/5847.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/5847/head:pull/5847
PR: https://git.openjdk.java.net/jdk/pull/5847
More information about the client-libs-dev
mailing list