[jdk21u-dev] Integrated: 8349501: Relocate supporting classes in security/testlibrary to test/lib/jdk tree

Goetz Lindenmaier goetz at openjdk.org
Mon May 5 13:13:04 UTC 2025


On Tue, 29 Apr 2025 10:55:18 GMT, Goetz Lindenmaier <goetz at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: fdd0cb55
Author:    Goetz Lindenmaier <goetz at openjdk.org>
URL:       https://git.openjdk.org/jdk21u-dev/commit/fdd0cb550e4345d93c5436404e0a798563d623f1
Stats:     151 lines in 41 files changed: 32 ins; 34 del; 85 mod

8349501: Relocate supporting classes in security/testlibrary to test/lib/jdk tree

Reviewed-by: rschmelter
Backport-of: b737f7fb3004e4e9c95fba95c6fcda70073ae00e

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

PR: https://git.openjdk.org/jdk21u-dev/pull/1721


More information about the jdk-updates-dev mailing list