Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The XFS file system doesn't return size of the directory content #25142

Merged
merged 1 commit into from
Sep 13, 2024

Conversation

dmatej
Copy link
Contributor

@dmatej dmatej commented Sep 12, 2024

  • Fixes FileUtilsTest fails on clean build #25089
  • The Javadoc of File.length says: "The return value is unspecified if this pathname denotes a directory." - while that worked well on EXT4 and probably on most file systems (returned sum of file sizes under the tree), it doesn't work with XFS.

Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
@dmatej dmatej added this to the 7.0.18 milestone Sep 12, 2024
@dmatej dmatej self-assigned this Sep 12, 2024
Copy link
Contributor

@avpinchuk avpinchuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pzygielo pzygielo merged commit aaf1a80 into eclipse-ee4j:master Sep 13, 2024
2 checks passed
@dmatej dmatej deleted the xfs branch September 13, 2024 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FileUtilsTest fails on clean build
4 participants