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
- relates to
-
JDK-8170364 FilePermission path modified during merge
- Resolved
-
JDK-8164705 Remove pathname canonicalization from FilePermission
- Closed