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

Goetz Lindenmaier goetz at openjdk.org
Wed Dec 17 08:44:07 UTC 2025


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

Goetz Lindenmaier has updated the pull request incrementally with one additional commit since the last revision:

  fixe white space

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

Changes:
  - all: https://git.openjdk.org/jdk21u-dev/pull/2519/files
  - new: https://git.openjdk.org/jdk21u-dev/pull/2519/files/abb7b81b..d7ad0cc2

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=2519&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=2519&range=00-01

  Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk21u-dev/pull/2519.diff
  Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/2519/head:pull/2519

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


More information about the jdk-updates-dev mailing list