RFR: 8282632: Cleanup unnecessary calls to Throwable.initCause() in java.security.jgss

Andrey Turbanov aturbanov at openjdk.java.net
Thu Mar 3 20:31:36 UTC 2022


Pass cause exception as constructor parameter is shorter and easier to read.

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

Commit messages:
 - [PATCH] Cleanup unnecessary calls to Throwable.initCause() in java.security.jgss

Changes: https://git.openjdk.java.net/jdk/pull/7682/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=7682&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8282632
  Stats: 22 lines in 3 files changed: 0 ins; 13 del; 9 mod
  Patch: https://git.openjdk.java.net/jdk/pull/7682.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/7682/head:pull/7682

PR: https://git.openjdk.java.net/jdk/pull/7682



More information about the security-dev mailing list