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

Goetz Lindenmaier goetz at openjdk.org
Mon Jan 19 06:07:56 UTC 2026


On Wed, 17 Dec 2025 08:44:07 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.
>
> Goetz Lindenmaier has updated the pull request incrementally with one additional commit since the last revision:
> 
>   fixe white space

Thanks for the review!

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

PR Comment: https://git.openjdk.org/jdk21u-dev/pull/2519#issuecomment-3766558032


More information about the jdk-updates-dev mailing list