commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niall Pemberton (JIRA)" <j...@apache.org>
Subject [jira] Updated: (IO-217) FileUtils.copyDirectoryToDirectory makes infinite loops
Date Wed, 04 Aug 2010 20:56:18 GMT

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

Niall Pemberton updated IO-217:
-------------------------------

    Fix Version/s: 2.0

> FileUtils.copyDirectoryToDirectory makes infinite loops
> -------------------------------------------------------
>
>                 Key: IO-217
>                 URL: https://issues.apache.org/jira/browse/IO-217
>             Project: Commons IO
>          Issue Type: Bug
>    Affects Versions: 1.4
>         Environment: Windows XP
>            Reporter: tora yamada
>             Fix For: 2.0
>
>
> When using FileUtils.copyDirectoryToDirectory, infinite loops has occurred.
> -- detail --
> src directory :  D:\a
> dest directory : D:\a
> call : FileUtils.copyDirectoryToDirectory(new File("D:\a"), new File("D:\a"));
> expected result : directory D:\a\a will be created
> actual result      : D:\a\a\a\a.......   was created
> i guess FileUtils.copyDirectoryToDirectory causes of this result.
> ("destDir.mkdir()" is done before "srcDir.listFiles()")
> am i calling wrong method?
> thank you.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message