RFR: 8316304: (fs) Add support for BasicFileAttributes.creationTime() for Linux [v3]
Severin Gehwolf
sgehwolf at openjdk.org
Tue Oct 3 10:05:25 UTC 2023
On Mon, 2 Oct 2023 18:03:33 GMT, David Voit <duke at openjdk.org> wrote:
>> I've deliberately omitted that change here, not sure if this change of behaviour is wanted as it would add a field in `UnixFileAttributes` (it was part of the v2 patch). @bplb @AlanBateman Thoughts? I can include it of course, but don't want to go in circles.
>
> Understood, seems just a little bit silly that a limitation in a different kernel (darwin) artificially limits the birthtime here, while it easily accessible with statx. Otherwise this patch series looks quite good!
Well, I've reconsidered. It's fairly trivial to support, so I've added it. The latest patch does this. It's an incremental webrev change so we can go back if not desired.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/15792#discussion_r1343843993
More information about the nio-dev
mailing list