RFR: JDK-8296406: ChainingConstructors jtreg test reduce code duplication

Matthias Baesken mbaesken at openjdk.org
Mon Nov 7 12:57:43 UTC 2022


The java/security/Exceptions/ChainingConstructors jdk jtreg test shows quite a lot of code duplication. The test code can be simplified e.g. by using generics. Additionally the test failure output was improved and a test for the constructors of CertPathBuilderException was added.

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

Commit messages:
 - JDK-8296406

Changes: https://git.openjdk.org/jdk/pull/11016/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=11016&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8296406
  Stats: 176 lines in 1 file changed: 10 ins; 149 del; 17 mod
  Patch: https://git.openjdk.org/jdk/pull/11016.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/11016/head:pull/11016

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


More information about the security-dev mailing list