[jdk21u-dev] RFR: 8335288: SunPKCS11 initialization will call C_GetMechanismInfo on unsupported mechanisms [v2]

Goetz Lindenmaier goetz at openjdk.org
Mon Dec 23 11:36:21 UTC 2024


> I backport this for parity with 21.0.7-oracle.
> 
> I removed brokenMechanisms.contains() from the code. brokenMechanisms
> was introduced by https://bugs.openjdk.org/browse/JDK-8324585 which is not 
> in 21. But this is a change that might be backported at some point, so I 
> think we should leave the code in there so that it's easier to recover it 
> in this case.  I also wrote a note in 8324585 to do so.

Goetz Lindenmaier has updated the pull request incrementally with one additional commit since the last revision:

  Add missing tests

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

Changes:
  - all: https://git.openjdk.org/jdk21u-dev/pull/1283/files
  - new: https://git.openjdk.org/jdk21u-dev/pull/1283/files/da81fe15..a0c8322b

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

  Stats: 130 lines in 2 files changed: 130 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk21u-dev/pull/1283.diff
  Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/1283/head:pull/1283

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


More information about the jdk-updates-dev mailing list