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

Better invalid FilePermission

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 9
    • 9
    • core-libs
    • None
    • b143

    Backports

      Description

        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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: