8043132: Nashorn : all tests failed with java.security.AccessControlException
Reviewed-by: jlaskey, attila
This commit is contained in:
parent
599fcee2f2
commit
309274646c
@ -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;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user