changeset 16688:0d2ab72ba600

8145337: [JVMCI] JVMCI initialization with SecurityManager installed fails: java.security.AccessControlException: access denied Reviewed-by: kvn, alanb, mchung, mullan
author dnsimon
date Thu, 02 Feb 2017 05:26:20 -0800
parents 46d67328922c
children 31fdce5df5cd
files src/java.base/share/lib/security/default.policy
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.base/share/lib/security/default.policy	Wed Feb 01 00:56:16 2017 +0100
+++ b/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;
+};