[jdk21u-dev] Integrated: 8244336: Restrict algorithms at JCE layer

Goetz Lindenmaier goetz at openjdk.org
Tue Jan 20 06:22:53 UTC 2026


On Mon, 15 Dec 2025 16:32:57 GMT, Goetz Lindenmaier <goetz at openjdk.org> wrote:

> I backport this for parity with 21.0.11-oracle.
> 
> I had to resolve a few files, mostly due to the removal of the 
> security manager:
> 
> src/java.base/share/classes/java/security/Signature.java
> Adapted patch in getInstance(String) to slightly different coding.
> 
> src/java.base/share/classes/sun/security/util/AbstractAlgorithmConstraints.java
> Copyright.
> getAlgorithms(String): Needed to adapt to security coding.
> 
> src/java.base/share/classes/sun/security/util/KnownOIDs.java
> Resolved line 188 due to context difference.
> 
> Also, I had to adapt one test to work with the SM.  See second commit.

This pull request has now been integrated.

Changeset: 310a042b
Author:    Goetz Lindenmaier <goetz at openjdk.org>
URL:       https://git.openjdk.org/jdk21u-dev/commit/310a042b4a2e211aad1c5c805ca5ebcc184010e8
Stats:     1566 lines in 19 files changed: 1364 ins; 163 del; 39 mod

8244336: Restrict algorithms at JCE layer

Reviewed-by: rschmelter
Backport-of: 35dabb1a5f31d985f00de21badeeedb026a63b94

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

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


More information about the jdk-updates-dev mailing list