aboutsummaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
authorsundar <none@none>2013-09-12 22:16:40 +0530
committersundar <none@none>2013-09-12 22:16:40 +0530
commit97656e9b16fd87124f34fc7881517c25d2f22a7e (patch)
tree7de18c026aa0978078ee173e0345a537ba9634de /make
parentd307d3fc8e3572e3c1bc89c610916a17f95d0b8c (diff)
downloadnashorn-97656e9b16fd87124f34fc7881517c25d2f22a7e.tar.gz
8024693: Various minor issues with JSONWriter used by script parser API
Reviewed-by: jlaskey, hannesw
Diffstat (limited to 'make')
-rw-r--r--make/build.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/make/build.xml b/make/build.xml
index 9a31be88..df655d59 100644
--- a/make/build.xml
+++ b/make/build.xml
@@ -264,6 +264,13 @@ grant codeBase "file:/${basedir}/test/script/basic/*" {
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";
};