[jdk17u-dev] RFR: 8293345: SunPKCS11 provider checks on PKCS11 Mechanism are problematic

Goetz Lindenmaier goetz at openjdk.org
Wed Dec 4 13:14:49 UTC 2024


I backport this for parity with 17.0.15-oracle.


Config.java:
Resolve and adapt because of unsupported switch syntax.

SunPKCS11.java: I had to resolve becuase
"8301553: Support Password-Based Cryptography in SunPKCS11"
is not in 17. Context code has different control flow. 
Patched code is unchanged.

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

Commit messages:
 - Backport 1b476f52ba85f9ceaabe785d36cb07df831fd0e8

Changes: https://git.openjdk.org/jdk17u-dev/pull/3092/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=3092&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8293345
  Stats: 51 lines in 2 files changed: 25 ins; 25 del; 1 mod
  Patch: https://git.openjdk.org/jdk17u-dev/pull/3092.diff
  Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/3092/head:pull/3092

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


More information about the jdk-updates-dev mailing list