8145337: [JVMCI] JVMCI initialization with SecurityManager installed fails: java.security.AccessControlException: access denied
Reviewed-by: kvn, alanb, mchung, mullan
--- 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;
+};