RFR: 8371721: Refactor checkTrusted methods in X509TrustManagerImpl [v2]

Artur Barashev abarashev at openjdk.org
Tue Nov 25 21:43:55 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.

Artur Barashev has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains three commits:

 - Fix merge errors
 - Merge branch 'master' into JDK-8371721
   
   # Conflicts:
   #	src/java.base/share/classes/sun/security/ssl/SSLLogger.java
   #	src/java.base/share/classes/sun/security/ssl/X509TrustManagerImpl.java
 - 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=01
  Stats: 153 lines in 2 files changed: 39 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