Native code for sun.security.pkcs11 is not multi-task safe.
Several files use C variables that holds handle to jclass (e.g. p11_general)
and jobjects (e.g., p11_sessmgt.c).
Several files use C variables that holds handle to jclass (e.g. p11_general)
and jobjects (e.g., p11_sessmgt.c).