changeset 806:806df06b6ac5 jdk9-b14

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