Mercurial > people > rkennke > jdk9-shenandoah-final > nashorn
changeset 855:0b5790104afb
8044154: Nashorn : all tests failed with java.security.AccessControlException
Reviewed-by: attila, sundar
author | mnunez |
---|---|
date | Wed, 14 May 2014 15:50:04 +0200 |
parents | 1b93607e77f8 |
children | e18b0b919ef7 |
files | make/build.xml |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/make/build.xml Wed May 14 16:29:14 2014 +0200 +++ b/make/build.xml Wed May 14 15:50:04 2014 +0200 @@ -276,6 +276,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; };