| Summary: | On Win7 UnifiedTree#isRecursiveLink() returns false, even if there is a loop | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Szymon Brandys <Szymon.Brandys> |
| Component: | Resources | Assignee: | Sergey Prigogin <eclipse.sprigogin> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | eclipse.sprigogin, mober.at+eclipse, sptaszkiewicz |
| Version: | 3.7 | ||
| Target Milestone: | 4.6 M2 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| See Also: |
https://git.eclipse.org/r/54365 https://git.eclipse.org/c/platform/eclipse.platform.resources.git/commit/?id=ae67854e69a5ccdc12ea04f5244513ef47dcbb0e |
||
| Whiteboard: | |||
| Bug Depends on: | 472553 | ||
| Bug Blocks: | 340834 | ||
|
Description
Szymon Brandys
(In reply to Szymon Brandys from comment #0) > Szymon P., could you check what the Java plan is to support Win7 symlink > correctly? Java supports symbolic links resolution on Windows 7 since Java 7 by introducing new API to handle following or not symbolic links. See for example the implementation of org.eclipse.core.internal.filesystem.java7.DosHandler and the way it uses the LinkOption.NOFOLLOW_LINKS option. Java 7 Files#toRealPath() might work resolving the issue. http://docs.oracle.com/javase/8/docs/api/java/nio/file/Path.html#toRealPath-java.nio.file.LinkOption...- New Gerrit change created: https://git.eclipse.org/r/54365 Gerrit change https://git.eclipse.org/r/54365 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.resources.git/commit/?id=ae67854e69a5ccdc12ea04f5244513ef47dcbb0e . |