changeset 24385:2187cb29a50c

Merge
author lana
date Thu, 15 May 2014 10:42:19 -0700
parents 72b811822a29 aa4f755d97ec
children 0cf8e525ed4f
files
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/nashorn/make/build.xml	Thu May 15 10:26:03 2014 -0700
+++ b/nashorn/make/build.xml	Thu May 15 10:42:19 2014 -0700
@@ -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;
 };