Relates :
|
JDK-8232155 added the following statement to DelegationPermission(String) constructor spec: + * @throws IllegalArgumentException if {@code principals} is empty, + * or does not contain a pair of principals, or is improperly quoted However this is not followed by OpenJDK14 implementation as new DelegationPermission("\"ab\" \"cd") is still possible to instantiate without IAE thrown The same happens for ""ab"" "cd" "ab" "cd"""
|