annotate jdk/test/jdk/nio/zipfs/test.policy.readonly @ 24364:da8afb112f5d

8040059: Change default policy for extensions to no permission Reviewed-by: alanb, mullan, erikj
author mchung
date Fri, 09 May 2014 09:04:41 -0700
parents
children 8d82d0e9556b
rev   line source
mchung@24364 1 grant codeBase "file:${java.home}/lib/ext/zipfs.jar" {
mchung@24364 2 permission java.io.FilePermission "<<ALL FILES>>", "read,write";
mchung@24364 3 permission java.lang.RuntimePermission "fileSystemProvider";
mchung@24364 4 permission java.util.PropertyPermission "*", "read";
mchung@24364 5 };
mchung@24364 6
mchung@24364 7 grant {
mchung@24364 8 permission java.io.FilePermission "<<ALL FILES>>","read";
mchung@24364 9 permission java.util.PropertyPermission "test.jdk","read";
mchung@24364 10 permission java.util.PropertyPermission "test.src","read";
mchung@24364 11 permission java.util.PropertyPermission "user.dir","read";
mchung@24364 12 };