RFR: 8365069: Refactor tests to use PEM API (Phase 1) [v2]

Koushik Muthukrishnan Thirupattur duke at openjdk.org
Wed Oct 29 20:54:56 UTC 2025


> The following tests have been identified as candidates for phase 1 of this change.
> 2. test/jdk/javax/net/ssl/TLSCommon/TLSTest.java
> 3. test/jdk/sun/security/provider/certpath/DisabledAlgorithms/CPBuilder.java
> 4. test/jdk/sun/security/provider/certpath/DisabledAlgorithms/CPBuilderWithMD5.java
> 5. test/jdk/sun/security/provider/certpath/DisabledAlgorithms/CPValidatorEndEntity.java
> 9. test/jdk/sun/security/provider/certpath/DisabledAlgorithms/CPValidatorIntermediate.java
> 10. test/jdk/sun/security/ssl/X509TrustManagerImpl/PKIXExtendedTM.java
> 11. test/jdk/sun/security/ssl/X509TrustManagerImpl/SunX509ExtendedTM.java
> 13. test/jdk/java/security/cert/CertPathBuilder/selfIssued/KeyUsageMatters.java
> 16. test/jdk/java/security/cert/CertPathBuilder/selfIssued/DisableRevocation.java
> 17. test/jdk/java/security/cert/CertPathValidator/indirectCRL/CircularCRLOneLevel.java
> 18. test/jdk/java/security/cert/CertPathValidator/indirectCRL/CircularCRLOneLevelRevoked.java
> 20. test/jdk/java/security/KeyStore/PKCS12/WriteP12Test.java
> 21. test/jdk/java/security/cert/CertPathValidator/OCSP/FailoverToCRL.java
> 22. test/jdk/java/security/cert/CertPathValidator/nameConstraints/NameConstraintsWithRID.java
> 23. test/jdk/java/security/cert/CertPathValidator/nameConstraints/NameConstraintsWithUnexpectedRID.java
> 24. test/jdk/java/security/cert/CertPathValidator/nameConstraints/NameConstraintsWithoutRID.java
> 25. test/jdk/java/security/cert/CertPathValidator/trustAnchor/ValWithAnchorByName.java
> 30. test/jdk/java/security/KeyStore/TestKeyStoreBasic.java

Koushik Muthukrishnan Thirupattur has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains five additional commits since the last revision:

 - 8365069: Addressing review comments
 - Merge branch 'master' into 8365069
 - 8365069: Refactor tests to use PEM API (Phase 1)
 - 8365069: Refactor tests to use PEM API (Phase 1)
 - 8365069: Refactor tests to use PEM API (Phase 1)

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/27267/files
  - new: https://git.openjdk.org/jdk/pull/27267/files/6b3ff25e..9c958e51

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=27267&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=27267&range=00-01

  Stats: 293693 lines in 4713 files changed: 210711 ins; 54294 del; 28688 mod
  Patch: https://git.openjdk.org/jdk/pull/27267.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/27267/head:pull/27267

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


More information about the security-dev mailing list