Blame SOURCES/rh1996182-extend_security_policy.patch

f8e459
commit bfd7c5dae9c15266799cb885b8c60199217b65b9
f8e459
Author: Andrew Hughes <gnu.andrew@redhat.com>
f8e459
Date:   Mon Aug 30 16:14:14 2021 +0100
f8e459
f8e459
    RH1996182: Extend default security policy to allow SunPKCS11 access to jdk.internal.access
f8e459
f8e459
diff --git openjdk.orig/src/java.base/share/lib/security/default.policy openjdk/src/java.base/share/lib/security/default.policy
f8e459
index 8356e56367b..23925f048be 100644
f8e459
--- openjdk.orig/src/java.base/share/lib/security/default.policy
f8e459
+++ openjdk/src/java.base/share/lib/security/default.policy
f8e459
@@ -128,6 +128,7 @@ grant codeBase "jrt:/jdk.crypto.ec" {
f8e459
 grant codeBase "jrt:/jdk.crypto.cryptoki" {
f8e459
     permission java.lang.RuntimePermission
f8e459
                    "accessClassInPackage.com.sun.crypto.provider";
f8e459
+    permission java.lang.RuntimePermission "accessClassInPackage.jdk.internal.access";
f8e459
     permission java.lang.RuntimePermission "accessClassInPackage.jdk.internal.misc";
f8e459
     permission java.lang.RuntimePermission
f8e459
                    "accessClassInPackage.sun.security.*";