nashorn/make/build.xml
changeset 19894 195477810711
parent 19103 3905e242e69c
child 19895 965b12eb322e
--- a/nashorn/make/build.xml	Thu Sep 12 17:13:59 2013 +0200
+++ b/nashorn/make/build.xml	Thu Sep 12 22:16:40 2013 +0530
@@ -264,6 +264,13 @@
     permission java.util.PropertyPermission "nashorn.test.*", "read";
 };
 
+grant codeBase "file:/${basedir}/test/script/basic/parser/*" {
+    permission java.io.FilePermission "${basedir}/test/script/-", "read";
+    permission java.io.FilePermission "$${user.dir}", "read";
+    permission java.util.PropertyPermission "user.dir", "read";
+    permission java.util.PropertyPermission "nashorn.test.*", "read";
+};
+
 grant codeBase "file:/${basedir}/test/script/basic/JDK-8010946-privileged.js" {
     permission java.util.PropertyPermission "java.security.policy", "read";
 };