-
Bug
-
Resolution: Fixed
-
P2
-
9
-
b166
-
Not verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8179150 | 10 | Weijun Wang | P2 | Resolved | Fixed | b06 |
The new FilePermission::implies implementation introduced in JDK-8164705 uses Path::relativize to find out if a path is inside another one. Path::relativize is quite complicated and since we don't need the actual result (we only need to see if the result is zero-or-more ".."), we can avoid using this method and write our own check.
- backported by
-
JDK-8179150 Faster FilePermission::implies by avoiding the use of Path::relativize
-
- Resolved
-
- relates to
-
JDK-8164705 Remove pathname canonicalization from FilePermission
-
- Closed
-