You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Molnár Attila (Jira)" <ji...@apache.org> on 2025/09/17 06:03:00 UTC

[jira] [Updated] (IO-877) FileUtils.listFiles breaking change

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

Molnár Attila updated IO-877:
-----------------------------
    Attachment: playground.zip

> FileUtils.listFiles breaking change
> -----------------------------------
>
>                 Key: IO-877
>                 URL: https://issues.apache.org/jira/browse/IO-877
>             Project: Commons IO
>          Issue Type: Bug
>          Components: Utilities
>            Reporter: Molnár Attila
>            Priority: Minor
>         Attachments: playground.zip
>
>
> {{FileUtils.listFiles(new File(""), new String[] \{ "log" }, false)}}
>  
> With version 2.13.0 this call returned the *.log files beside the .jar file. 
> With version 2.20.0 this call returns no file.
>  
> Workaround
> {{FileUtils.listFiles(new File("").getCanonicalFile(), new String[] \{ "log" }, false);}}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)