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

FilePermissionCollection merges incorrectly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b143

      Description

      When a FilePermission is added into a FilePermissionCollection, it might be merged into an existing FilePermission which has the same name. The JavaIOFilePermissionAccess::newPermUsingAltPath method might create a new FilePermission with the same name but different internals. If it is merged with a "normal" FilePermission with the name, the merge will go wrong.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: