[
https://issues.apache.org/jira/browse/IO-295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13959286#comment-13959286
]
Stanford S. Guillory commented on IO-295:
-----------------------------------------
Guys,
This is not a Windows only issue. This bit us today in our CI build on an
Ubuntu build node. In migrating our build nodes, we moved to a raid disk array,
and starting using symbolic links to keep our build configs the same, and a
number of unit tests starting failing due to FileUtils.isSymbolicLink() falsely
reporting that leaf file was a symbolic link.
I agree with Will Erickson. The Commons IO FileUtils.deleteDirectory() is
calling the defective method and should be fixed.
> 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)