8240193: loadLibrary("osxsecurity") should not be removed

Reviewed-by: ascarpino
This commit is contained in:
Xue-Lei Andrew Fan 2020-02-27 21:14:59 -08:00
parent 511501048c
commit 0ab5b968fb

View file

@ -105,6 +105,10 @@ public final class KeychainStore extends KeyStoreSpi {
private static final Debug debug = Debug.getInstance("keystore");
static {
jdk.internal.loader.BootLoader.loadLibrary("osxsecurity");
}
private static void permissionCheck() {
SecurityManager sec = System.getSecurityManager();