RFR: 8374441: (fs) FileSystemProvider.readAttributesIfExists throws "Not a directory" when element in path is not directory should return null for ENOTDIR (unix) [v3]

duke duke at openjdk.org
Tue Jan 6 06:56:23 UTC 2026


On Mon, 5 Jan 2026 20:16:22 GMT, Fabian Meumertzheim <fmeum at openjdk.org> wrote:

>> `FileSystemProvider.readAttributesIfExists` now returns `null` for a path with a true prefix that is not a directory rather than throwing `NotDirectoryException`.
>
> Fabian Meumertzheim has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Update copyright range

@fmeum 
Your change (at version 868e0f41cbcd7ed0782c59c31b9bf3812e447d8b) is now ready to be sponsored by a Committer.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/29013#issuecomment-3713367953


More information about the nio-dev mailing list