8043132: Nashorn : all tests failed with java.security.AccessControlException
authorsundar
Wed, 14 May 2014 19:01:05 +0530
changeset 24384 aa4f755d97ec
parent 24301 1a30593dcb98
child 24385 2187cb29a50c
8043132: Nashorn : all tests failed with java.security.AccessControlException Reviewed-by: jlaskey, attila
nashorn/make/build.xml
--- a/nashorn/make/build.xml	Wed Jul 05 19:40:19 2017 +0200
+++ b/nashorn/make/build.xml	Wed May 14 19:01:05 2014 +0530
@@ -279,6 +279,10 @@
   <target name="generate-policy-file" depends="prepare">
     <echo file="${build.dir}/nashorn.policy">
 
+grant codeBase "file:/${toString:nashorn.ext.path}/nashorn.jar" {
+    permission java.security.AllPermission;
+};
+
 grant codeBase "file:/${basedir}/${nashorn.internal.tests.jar}" {
     permission java.security.AllPermission;
 };