jdk-24/jdk/test/java/security/ProtectionDomain/NullGetActions.policy
Jamil Nimeh 2eff7e6a9a 8043252: Debug of access control is obfuscated - NullPointerException in ProtectionDomain
Protect against null return value from Permission.getActions in ProtectionDomain's toString method.

Reviewed-by: weijun, mullan
2016-11-16 08:29:58 -08:00

4 lines
72 B
Plaintext

grant {
permission java.security.SecurityPermission "getPolicy";
};