8043132: Nashorn : all tests failed with java.security.AccessControlException

Reviewed-by: jlaskey, attila
This commit is contained in:
Athijegannathan Sundararajan 2014-05-14 19:01:05 +05:30
parent 599fcee2f2
commit 309274646c

View File

@ -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;
};