PKCS11.getInstance() method signature change

Solution Unverified - Updated -

Issue

The 3rd party ejbca library fails when migrating from OpenJDK8 u322 to u332:

EJB default - 9                    [p11.Pkcs11SlotLabel] [getSunP11ProviderNoExceptionHandeling] INFO  [360] : Using SUN PKCS11 provider: sun.security.pkcs11.SunPKCS11
EJB default - 9                    [p11.Pkcs11Wrapper] [<init>] ERROR [108] : Method getInstance was not found in class sun.security.pkcs11.wrapper.PKCS11.CK_C_INITIALIZE_ARGS, this may be due to a change in the underlying library.: java.lang.NoSuchMethodException: sun.security.pkcs11.wrapper.PKCS11.getInstance(java.lang.String, java.lang.String, sun.security.pkcs11.wrapper.CK_C_INITIALIZE_ARGS, boolean)

Environment

  • Red Hat build of OpenJDK 8 u332

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content