Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
8240193: loadLibrary("osxsecurity") should not be removed
Reviewed-by: ascarpino
  • Loading branch information
XueleiFan committed Feb 28, 2020
1 parent 5115010 commit 0ab5b968fb82cccf4dcd4afe751038b07b7bd35c
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/java.base/macosx/classes/apple/security/KeychainStore.java
@@ -105,6 +105,10 @@ class TrustedCertEntry {

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

static {
jdk.internal.loader.BootLoader.loadLibrary("osxsecurity");
}

private static void permissionCheck() {
SecurityManager sec = System.getSecurityManager();

0 comments on commit 0ab5b96

Please sign in to comment.