[ 
https://issues.apache.org/jira/browse/IO-877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18021029#comment-18021029
 ] 

Gary D. Gregory commented on IO-877:
------------------------------------

Looks to me like it works:
{noformat}
Apache Maven 3.9.11 (3e54c93a704957b63ee3494413a2b544fd3d825b)
Maven home: /opt/homebrew/Cellar/maven/3.9.11/libexec
Java version: 25, vendor: Homebrew, runtime: 
/opt/homebrew/Cellar/openjdk/25/libexec/openjdk.jdk/Contents/Home
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "15.7", arch: "aarch64", family: "mac"
WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::staticFieldBase has been called by 
com.google.inject.internal.aop.HiddenClassDefiner 
(file:/opt/homebrew/Cellar/maven/3.9.11/libexec/lib/guice-5.1.0-classes.jar)
WARNING: Please consider reporting this to the maintainers of class 
com.google.inject.internal.aop.HiddenClassDefiner
WARNING: sun.misc.Unsafe::staticFieldBase will be removed in a future release
[INFO] Scanning for projects...
[INFO] 
[INFO] -------------------< hu.libra.playground:playground >-------------------
[INFO] Building Playground 0.0.1-SNPSHOT
[INFO]   from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- exec:3.5.1:java (default-cli) @ playground ---
[playground.log]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  0.165 s
[INFO] Finished at: 2025-09-17T21:45:17-04:00
[INFO] ------------------------------------------------------------------------ 
{noformat}

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

Reply via email to