jdk-24/jdk/test/java/nio/file/WatchService/grantDirAndOneLevel.policy

6 lines
226 B
Plaintext
Raw Normal View History

// policy file that grants read access to source directory and its entries
grant {
permission java.io.FilePermission "${test.src}", "read";
permission java.io.FilePermission "${test.src}${file.separator}*", "read";
};