commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stanford S. Guillory (JIRA)" <>
Subject [jira] [Commented] (IO-295) FileUtils.isSymlinks misses symlink folders on Windows
Date Thu, 03 Apr 2014 21:51:17 GMT


Stanford S. Guillory commented on IO-295:

     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:
>             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

View raw message