view test/java/nio/file/Files/grantAll.policy @ 1658:aac01ec2cec4

6876541: (file) Files.walkFileTree(...): no SecurityException if read access to the starting file is denied Reviewed-by: chegar
author alanb
date Mon, 14 Sep 2009 17:47:26 +0100
parents
children
line wrap: on
line source
// policy file that grants read access to source directory and all descendants
grant {
    permission java.io.FilePermission "${test.src}", "read";
    permission java.io.FilePermission "${test.src}${file.separator}-", "read";
};