Blame SOURCES/rh1996182-extend_security_policy.patch

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