Blame SOURCES/rh1996182-extend_security_policy.patch

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