You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Niall Pemberton (JIRA)" <ji...@apache.org> on 2010/08/04 22:56:18 UTC
[jira] Updated: (IO-217) FileUtils.copyDirectoryToDirectory makes
infinite loops
[ 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.