Skip to content

Commit 0ab5b96

Browse files
committedFeb 28, 2020
8240193: loadLibrary("osxsecurity") should not be removed
Reviewed-by: ascarpino
1 parent 5115010 commit 0ab5b96

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎src/java.base/macosx/classes/apple/security/KeychainStore.java

+4
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,10 @@ class TrustedCertEntry {
105105

106106
private static final Debug debug = Debug.getInstance("keystore");
107107

108+
static {
109+
jdk.internal.loader.BootLoader.loadLibrary("osxsecurity");
110+
}
111+
108112
private static void permissionCheck() {
109113
SecurityManager sec = System.getSecurityManager();
110114

0 commit comments

Comments
 (0)
Please sign in to comment.