mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
8315273: (fs) Path.toRealPath(LinkOption.NOFOLLOW_LINKS) fails when "../../" follows a link (win)
Reviewed-by: djelinski
This commit is contained in:
parent
b39e6a84ef
commit
f87701635f
3 changed files with 24 additions and 6 deletions
|
@ -803,8 +803,8 @@ public interface Path
|
|||
* "{@code ..}" (or equivalent) is preceded by a non-"{@code ..}" name then
|
||||
* an implementation will typically cause both names to be removed. When
|
||||
* not resolving symbolic links and the preceding name is a symbolic link
|
||||
* then the names are only removed if it guaranteed that the resulting path
|
||||
* will locate the same file as this path.
|
||||
* then the names are only removed if it is guaranteed that the resulting
|
||||
* path will locate the same file as this path.
|
||||
*
|
||||
* @param options
|
||||
* options indicating how symbolic links are handled
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue