--- 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 -->