8217088: Disable JDK-6913047 fix (SunPKCS11 memory leak) after JDK-8216597 (SIGBUS error in getNativeKeyInfo)

Disable JDK-6913047 fix (SunPKCS11 memory leak) temporarily until JDK-8216597 (SIGBUS error in getNativeKeyInfo) is fixed.

Reviewed-by: mullan
This commit is contained in:
Martin Balao 2019-01-15 19:24:07 -03:00
parent cdaffdd356
commit 6cfcdde523

View File

@ -106,7 +106,7 @@ abstract class P11Key implements Key, Length {
static {
PrivilegedAction<String> getKeyExtractionProp =
() -> System.getProperty(
"sun.security.pkcs11.disableKeyExtraction", "false");
"sun.security.pkcs11.disableKeyExtraction", "true");
String disableKeyExtraction =
AccessController.doPrivileged(getKeyExtractionProp);
DISABLE_NATIVE_KEYS_EXTRACTION =