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

FilePermissionCollection merges incorrectly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • core-libs
    • None
    • b143

      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.

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

              Created:
              Updated:
              Resolved: