You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2013/04/22 19:39:16 UTC

[jira] [Resolved] (IO-295) FileUtils.isSymlinks misses symlink folders on Windows

     [ https://issues.apache.org/jira/browse/IO-295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sebb resolved IO-295.
---------------------

    Resolution: Won't Fix

There's little point fixing this now; Java 7 users can just use java.nio.file.Files.isSymbolicLink(Path path) which works for all OSes
                
> 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
>            Assignee: Sebb
>         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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira