jdk/test/java/nio/file/Files/grantAll.policy
author alanb
Mon, 14 Sep 2009 17:47:26 +0100
changeset 3847 821abab95d38
permissions -rw-r--r--
6876541: (file) Files.walkFileTree(...): no SecurityException if read access to the starting file is denied Reviewed-by: chegar
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3847
821abab95d38 6876541: (file) Files.walkFileTree(...): no SecurityException if read access to the starting file is denied
alanb
parents:
diff changeset
     1
// policy file that grants read access to source directory and all descendants
821abab95d38 6876541: (file) Files.walkFileTree(...): no SecurityException if read access to the starting file is denied
alanb
parents:
diff changeset
     2
grant {
821abab95d38 6876541: (file) Files.walkFileTree(...): no SecurityException if read access to the starting file is denied
alanb
parents:
diff changeset
     3
    permission java.io.FilePermission "${test.src}", "read";
821abab95d38 6876541: (file) Files.walkFileTree(...): no SecurityException if read access to the starting file is denied
alanb
parents:
diff changeset
     4
    permission java.io.FilePermission "${test.src}${file.separator}-", "read";
821abab95d38 6876541: (file) Files.walkFileTree(...): no SecurityException if read access to the starting file is denied
alanb
parents:
diff changeset
     5
};