nashorn/make/build.xml
changeset 19087 47d02733b128
parent 19082 6926097854f6
child 19103 3905e242e69c
--- a/nashorn/make/build.xml	Thu Jul 18 16:22:25 2013 +0200
+++ b/nashorn/make/build.xml	Thu Jul 18 16:47:45 2013 +0200
@@ -267,6 +267,11 @@
 grant codeBase "file:/${basedir}/test/script/basic/JDK-8010946-privileged.js" {
     permission java.util.PropertyPermission "java.security.policy", "read";
 };
+
+grant codeBase "file:/${basedir}/test/script/basic/classloader.js" {
+    permission java.lang.RuntimePermission "nashorn.JavaReflection";
+};
+
     </echo>
 
     <replace file="${build.dir}/nashorn.policy"><replacetoken>\</replacetoken><replacevalue>/</replacevalue></replace>    <!--hack for Windows - to make URLs with normal path separators -->