[
https://issues.apache.org/jira/browse/IO-295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13959139#comment-13959139
]
Will Erickson commented on IO-295:
----------------------------------
I disagree.
Apache Commons code also calls this flawed implementation instead of calling
java.nio.file.Files.isSymbolicLink.
Here's an example:
http://grepcode.com/file/repo1.maven.org/maven2/commons-io/commons-io/2.4/org/apache/commons/io/FileUtils.java/#1529
In this particular case calling deleteDirectory() in windows will give vastly
different results than it does in Linux/Unix
If you're going to tell people to stop using this implementation, you should
also follow your own advice, and stop using it internally too.
> FileUtils.isSymlinks misses symlink folders on Windows
> ------------------------------------------------------
>
> Key: IO-295
> URL: https://issues.apache.org/jira/browse/IO-295
> Project: Commons IO
> Issue Type: Bug
> Affects Versions: 2.1
> Environment: Windows 7 64 bit, Oracle Java 7
> Reporter: Ron Gross
> Attachments: IO-295-1.patch, IO-295.patch
>
>
> I created a symlink folder via mklink.
> Then, while debugging, I noticed that FileUtils.isSymlink() returns false on
> this directory, while Java 7's Files.isSymbolicLink() returns true.
--
This message was sent by Atlassian JIRA
(v6.2#6252)