The GitHub Actions job "Java CI" on commons-vfs.git/VFS-cwd-optimization has 
failed.
Run started by GitHub user ilang (triggered by garydgregory).

Head commit for run:
c0cec45401bf8dbed318cd174db88128f7b5daf9 / Ilan Goldfeld 
<[email protected]>
[VFS] Optimize setFTPFile() to try CWD before parent LIST

For directory existence checks, CWD is a lightweight control-channel
command with no data transfer, while LIST opens a data channel and
transfers the entire directory contents. When CWD succeeds (path is a
directory), the expensive parent LIST is skipped entirely. When CWD
fails (path is a file, symlink, or non-existent), falls back to the
original parent LIST behavior.

Add FtpClient.isDirectory() with PWD save/restore in FTPClientWrapper
to avoid changing the working directory when probing non-root paths.

Rename verifyRootDirectory() to verifyDirectory() as it now serves
both root and non-root paths.

Fix NPE in getTimestampMillis() for CWD-resolved directories: the
synthetic FTPFile has no timestamp, so lazily fetch the real FTPFile
via parent LIST when timestamp is first requested.

Report URL: https://github.com/apache/commons-vfs/actions/runs/23839325800

With regards,
GitHub Actions via GitBox

Reply via email to