author | alanb |
Mon, 14 Sep 2009 17:47:26 +0100 | |
changeset 3847 | 821abab95d38 |
permissions | -rw-r--r-- |
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 |
}; |