[jdk21u-dev] RFR: 8335288: SunPKCS11 initialization will call C_GetMechanismInfo on unsupported mechanisms
Martin Doerr
mdoerr at openjdk.org
Mon Dec 23 11:12:42 UTC 2024
On Sun, 22 Dec 2024 15:03:55 GMT, Goetz Lindenmaier <goetz at openjdk.org> wrote:
> 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.
Makes sense. Is there a problem with the test RequiredMechCheck.java in 21u or why did you omit it?
-------------
PR Comment: https://git.openjdk.org/jdk21u-dev/pull/1283#issuecomment-2559474685
More information about the jdk-updates-dev
mailing list