jdk-24/jdk/test/sun/security/provider/PolicyFile/Comparator.Comparator.Policy
2007-12-01 00:00:00 +00:00

19 lines
469 B
Plaintext

// should be granted
grant principal Comparator$PCompare1 "1" {
permission java.util.PropertyPermission "foo", "read";
};
// should be granted
grant principal Comparator$PCompare1 "1",
principal Comparator$PCompare2 "2" {
permission java.util.PropertyPermission "bar", "read";
};
// should not be granted
grant principal Comparator$PCompare1 "1",
principal Comparator$PCompare3 "3" {
permission java.util.PropertyPermission "foobar", "read";
};