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

Goetz Lindenmaier goetz at openjdk.org
Tue Dec 24 11:22:41 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.

This pull request has now been integrated.

Changeset: 85e5a5c6
Author:    Goetz Lindenmaier <goetz at openjdk.org>
URL:       https://git.openjdk.org/jdk21u-dev/commit/85e5a5c6e160a92cf599e649413e08fe03df6de5
Stats:     152 lines in 3 files changed: 140 ins; 2 del; 10 mod

8335288: SunPKCS11 initialization will call C_GetMechanismInfo on unsupported mechanisms

Reviewed-by: mdoerr
Backport-of: fdfe503d016086cf78b5a8c27dbe45f0261c68ab

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

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


More information about the jdk-updates-dev mailing list