RFR: 8341282: (fs) Move creation time fallback logic to Java layer (Linux) [v2]
Brian Burkhalter
bpb at openjdk.org
Tue Oct 1 19:57:53 UTC 2024
On Tue, 1 Oct 2024 18:21:58 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:
> Saw this too late...
No worries. The only thing different in 22ac46e is setting `birthtime_available = false` when `stat(2)` is used on Linux.
> src/java.base/unix/native/libnio/fs/UnixNativeDispatcher.c line 633:
>
>> 631: // filled in if and only if the STATX_BTIME bit is set in the mask.
>> 632: // Although the statx system call might be supported by the operating
>> 633: // system, the birth time is not necessarily supported by the file system.
>
> Nice comment!
Thanks.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/21274#issuecomment-2386939481
PR Review Comment: https://git.openjdk.org/jdk/pull/21274#discussion_r1783442355
More information about the nio-dev
mailing list