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

FilePermissionCollection merges incorrectly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 9
    • 9
    • core-libs
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: