[jdk17u-dev] RFR: 8366342: Key generator and key pair generator tests skipping, but showing as passed

Goetz Lindenmaier goetz at openjdk.org
Tue Oct 28 13:17:40 UTC 2025


I backport this for parity with 17.0.18-oracle.

Clean backport from 21, but skipped two files:

test/jdk/sun/security/pkcs11/KeyGenerator/TestAES.java was added by 
https://bugs.openjdk.org/browse/JDK-8267319: Use larger default key sizes and algorithms based on CNSA

test/jdk/sun/security/pkcs11/KeyPairGenerator/TestDefaultDHPrivateExpSize.java was added by 
https://bugs.openjdk.org/browse/JDK-8295425: Match the default priv exp length between SunPKCS11 and other JDK providers

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

Commit messages:
 - backport 690a45f77a2da47fa912fe7a2b2faa589f259f0

Changes: https://git.openjdk.org/jdk17u-dev/pull/4126/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=4126&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8366342
  Stats: 18 lines in 4 files changed: 6 ins; 3 del; 9 mod
  Patch: https://git.openjdk.org/jdk17u-dev/pull/4126.diff
  Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/4126/head:pull/4126

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


More information about the jdk-updates-dev mailing list