diff --git a/nashorn/make/build.xml b/nashorn/make/build.xml
index 9bc4d670618..bd85a06aba9 100644
--- a/nashorn/make/build.xml
+++ b/nashorn/make/build.xml
@@ -98,7 +98,7 @@
-
+
@@ -209,7 +209,7 @@
-
@@ -227,7 +227,7 @@
-
@@ -314,6 +314,15 @@ grant codeBase "file:/${basedir}/${nashorn.internal.tests.jar}" {
permission java.security.AllPermission;
};
+grant codeBase "file:/${basedir}/${nashorn.api.tests.jar}" {
+ permission java.util.PropertyPermission "parserapitest.*", "read";
+ permission java.util.PropertyPermission "test.*", "read";
+ permission java.util.PropertyPermission "test262.*", "read";
+ permission java.io.FilePermission "${basedir}/test/-","read";
+ permission java.io.FilePermission "$${user.dir}", "read";
+ permission java.util.PropertyPermission "user.dir", "read";
+};
+
grant codeBase "file:/${basedir}/${file.reference.testng.jar}" {
permission java.security.AllPermission;
};
@@ -395,6 +404,7 @@ grant codeBase "file:/${basedir}/test/script/markdown.js" {
+
@@ -440,7 +450,7 @@ grant codeBase "file:/${basedir}/test/script/markdown.js" {
+ verbose="${testng.verbose}" haltonfailure="true" useDefaultListeners="false" listeners="${testng.listeners}" workingDir="${basedir}">
@@ -466,7 +476,7 @@ grant codeBase "file:/${basedir}/test/script/markdown.js" {
-
+
@@ -478,7 +488,7 @@ grant codeBase "file:/${basedir}/test/script/markdown.js" {
-
+
diff --git a/nashorn/make/nbproject/project.xml b/nashorn/make/nbproject/project.xml
index 94d0c147019..b39e8734cb6 100644
--- a/nashorn/make/nbproject/project.xml
+++ b/nashorn/make/nbproject/project.xml
@@ -2,21 +2,21 @@