[jdk21u-dev] RFR: 8341927: Replace hardcoded security providers with new test.provider.name system property

Goetz Lindenmaier goetz at openjdk.org
Thu Nov 7 13:14:08 UTC 2024


I backport this for parity with 21.0.6-oracle.

I resolved two files:
test/jdk/sun/security/mscapi/InteropWithSunRsaSign.java
Copyright

test/jdk/sun/security/pkcs11/Signature/SigInteropPSS2.java
Resolved because 8325164: Named groups and signature schemes unavailable with SunPKCS11 in FIPS mode not in 21.

Tests all pass except for three I skipped:
test/jdk/sun/security/pkcs11/rsa/GenKeyStore.java
test/jdk/sun/security/rsa/GenKeyStore.java
test/jdk/javax/crypto/SecretKeyFactory/evilprov/com/evilprovider/EvilHmacSHA1.java
Checked the change in these files.

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

Commit messages:
 - Backport 9a9ac1d0059438d33fe69ef51265dc7cff6ad2bd

Changes: https://git.openjdk.org/jdk21u-dev/pull/1138/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=1138&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8341927
  Stats: 1006 lines in 230 files changed: 307 ins; 0 del; 699 mod
  Patch: https://git.openjdk.org/jdk21u-dev/pull/1138.diff
  Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/1138/head:pull/1138

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


More information about the jdk-updates-dev mailing list