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

Goetz Lindenmaier goetz at openjdk.org
Sat Feb 28 07:22:32 UTC 2026


> I backport this for parity with 17.0.19-oracle.
> 
> The backport is based on the change in 21.
> I needed to do some trivial resolves.
> 
> src/java.base/share/classes/java/security/KeyStore.java
> src/java.base/share/classes/java/security/MessageDigest.java
> Resolved javadoc comment.
> 
> src/java.base/share/classes/java/security/Signature.java
> Resolved javadoc comment and deletion of class CipherAdapter
> 
> src/java.base/share/classes/sun/security/util/AbstractAlgorithmConstraints.java
> Resolved Copyright.
> 
> Further I remove the javadoc changes.
> The CSR for head and the backported changes in 25, 21ff differ.
> The CSR for the backported changes says that it omits the javadoc
> changes.  My backport to 25&21 did not do so, I correct this with
> JDK-8378853.  For 17, I remove the comments right in the original
> backport, though.
> For more details see https://bugs.openjdk.org/browse/JDK-8378853

Goetz Lindenmaier has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR. The pull request contains one new commit since the last revision:

  undo javadoc changes

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

Changes:
  - all: https://git.openjdk.org/jdk17u-dev/pull/4286/files
  - new: https://git.openjdk.org/jdk17u-dev/pull/4286/files/f7b16d3f..0434f5af

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

  Stats: 3 lines in 1 file changed: 0 ins; 2 del; 1 mod
  Patch: https://git.openjdk.org/jdk17u-dev/pull/4286.diff
  Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/4286/head:pull/4286

PR: https://git.openjdk.org/jdk17u-dev/pull/4286


More information about the jdk-updates-dev mailing list