Better invalid FilePermission

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: 9
    • Component/s: core-libs
    • None
    • b143

        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.

              Assignee:
              Weijun Wang
              Reporter:
              Weijun Wang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: