Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8167646

Better invalid FilePermission

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • 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.

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

                Created:
                Updated:
                Resolved: