jdk-24/test/jdk/sun/security/provider/PolicyFile/Comparator.Comparator.Policy
2017-09-12 19:03:39 +02: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";
};