8145337: [JVMCI] JVMCI initialization with SecurityManager installed fails: java.security.AccessControlException: access denied
authordnsimon
Thu, 02 Feb 2017 05:26:20 -0800
changeset 43718 c539027158bf
parent 43717 303ca4a590e7
child 43719 f2d081404ea1
8145337: [JVMCI] JVMCI initialization with SecurityManager installed fails: java.security.AccessControlException: access denied Reviewed-by: kvn, alanb, mchung, mullan
jdk/src/java.base/share/lib/security/default.policy
--- a/jdk/src/java.base/share/lib/security/default.policy	Wed Feb 01 00:56:16 2017 +0100
+++ b/jdk/src/java.base/share/lib/security/default.policy	Thu Feb 02 05:26:20 2017 -0800
@@ -213,3 +213,7 @@
     permission java.lang.RuntimePermission "accessClassInPackage.com.sun.java.swing.plaf.*";
     permission java.lang.RuntimePermission "accessClassInPackage.com.apple.*";
 };
+
+grant codeBase "jrt:/jdk.vm.compiler" {
+    permission java.security.AllPermission;
+};