Mercurial > people > rkennke > jdk9-shenandoah-final > nashorn
changeset 805:093df4def9a7
8043132: Nashorn : all tests failed with java.security.AccessControlException
Reviewed-by: jlaskey, attila
author | sundar |
---|---|
date | Wed, 14 May 2014 19:01:05 +0530 |
parents | be4580ae56e2 |
children | 806df06b6ac5 |
files | make/build.xml |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/make/build.xml Thu May 08 15:28:15 2014 -0700 +++ b/make/build.xml Wed May 14 19:01:05 2014 +0530 @@ -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; };