Relates :
|
|
Relates :
|
For compatibility reason, when creating a FilePermission with a invalid path (i.e. if Paths.get(path) throws an exception) the creation succeeds but internally the mask and npath fields are assigned special values so that they don't equals/implies with a valid FilePermission. This can be made clearer.