From 6cfcdde523ed3875cbe31379e04a745891816fcb Mon Sep 17 00:00:00 2001 From: Martin Balao Date: Tue, 15 Jan 2019 19:24:07 -0300 Subject: [PATCH] 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 --- .../share/classes/sun/security/pkcs11/P11Key.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Key.java b/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Key.java index 64e9ff3498a..ba0ede3878e 100644 --- a/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Key.java +++ b/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Key.java @@ -106,7 +106,7 @@ abstract class P11Key implements Key, Length { static { PrivilegedAction getKeyExtractionProp = () -> System.getProperty( - "sun.security.pkcs11.disableKeyExtraction", "false"); + "sun.security.pkcs11.disableKeyExtraction", "true"); String disableKeyExtraction = AccessController.doPrivileged(getKeyExtractionProp); DISABLE_NATIVE_KEYS_EXTRACTION =