nashorn/make/build.xml
changeset 38809 98a5507b1c86
parent 38807 79e9bf5bb792
child 39789 297cda6b049d
--- a/nashorn/make/build.xml	Wed Jun 01 15:17:37 2016 +0530
+++ b/nashorn/make/build.xml	Thu Jun 02 14:56:20 2016 +0530
@@ -492,6 +492,10 @@
     permission java.io.FilePermission "${basedir}/test/script/external/showdown/-", "read";
 };
 
+grant codeBase "file:/${basedir}/test/script/basic/JDK-8158467.js" {
+    permission java.lang.RuntimePermission "nashorn.setConfig";
+};
+
     </echo>
 
     <replace file="${build.dir}/nashorn.policy"><replacetoken>\</replacetoken><replacevalue>/</replacevalue></replace>    <!--hack for Windows - to make URLs with normal path separators -->