RFR: 8371721: Refactor checkTrusted methods in X509TrustManagerImpl

Artur Barashev abarashev at openjdk.org
Wed Nov 12 21:39:24 UTC 2025


The 3 checkTrusted methods in X509TrustManagerImpl have a lot of repeating code that can be moved into a helper method.
Also refactoring X509TrustManagerImpl logging code since we are touching this file.

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

Commit messages:
 - 8371721: Refactor checkTrusted methods in X509TrustManagerImpl

Changes: https://git.openjdk.org/jdk/pull/28275/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28275&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8371721
  Stats: 152 lines in 2 files changed: 38 ins; 71 del; 43 mod
  Patch: https://git.openjdk.org/jdk/pull/28275.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/28275/head:pull/28275

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


More information about the security-dev mailing list