[jdk21u-dev] RFR: 8349501: Relocate supporting classes in security/testlibrary to test/lib/jdk tree
Goetz Lindenmaier
goetz at openjdk.org
Tue Apr 29 11:02:58 UTC 2025
I backport this for parity with 21.0.8-oracle. I had to resolve a row of simple conflicts. The first commit contains all the clean parts.
test/jdk/java/security/Provider/ChangeProviders.java
Trivial resolve because "https://bugs.openjdk.org/browse/JDK-8175874: Update Security.insertProviderAt to specify behavior when requested position is out of range." missing.
Specification change with CSR, don't backport.
All Copyright because "https://bugs.openjdk.org/browse/JDK-8338411: Implement JEP 486: Permanently Disable the Security Manager" touched these files.
test/jdk/sun/security/pkcs11/ec/ReadCertificates.java
test/jdk/sun/security/pkcs11/ec/ReadPKCS12.java
test/jdk/sun/security/pkcs11/ec/TestECDH.java
test/jdk/sun/security/pkcs11/ec/TestECDH2.java
test/jdk/sun/security/pkcs11/ec/TestECDSA.java
test/jdk/sun/security/pkcs11/ec/TestECDSA2.java
test/jdk/sun/security/pkcs11/rsa/TestCACerts.java
test/jdk/sun/security/pkcs11/sslecc/ClientJSSEServerJSSE.java
test/jdk/sun/security/provider/certpath/PKIXCertComparator/Order.java
Test added by "https://bugs.openjdk.org/browse/JDK-8317431: Implement simpler Comparator when building certification paths" (jdk23). Enhancement, not a
candidate for backport. Omitted.
test/jdk/sun/security/ssl/Stapling/StatusResponseManager.java
test/jdk/sun/security/ssl/Stapling/java.base/sun/security/ssl/StatusResponseManagerTests.java
Trivial resolves because P4 bug "https://bugs.openjdk.org/browse/JDK-8339403: sun.security.ssl.StatusResponseManager.get swallows interrupt status" (jdk24) is not in 21.
Candidate for backport? Seems to be just a defensive change.
test/lib/jdk/test/lib/security/CertificateBuilder.java
Also "https://bugs.openjdk.org/browse/JDK-8317431: Implement simpler Comparator when building certification paths". Resolved Copyright.
-------------
Commit messages:
- Resolve
- backport b737f7fb3004e4e9c95fba95c6fcda70073ae00e
Changes: https://git.openjdk.org/jdk21u-dev/pull/1721/files
Webrev: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=1721&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8349501
Stats: 151 lines in 41 files changed: 32 ins; 34 del; 85 mod
Patch: https://git.openjdk.org/jdk21u-dev/pull/1721.diff
Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/1721/head:pull/1721
PR: https://git.openjdk.org/jdk21u-dev/pull/1721
More information about the jdk-updates-dev
mailing list