RFR: 8343417: (fs) BasicFileAttributeView.setTimes uses microsecond precision with NOFOLLOW_LINKS [v3]
Alan Bateman
alanb at openjdk.org
Thu Nov 7 17:14:47 UTC 2024
On Wed, 6 Nov 2024 01:31:20 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
>> Add support for setting the last access and last modification times of symbolic links with nanosecond precision on Linux where the system call `utimensat(2)` is available.
>
> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
>
> 8343417: Use utimensat or lutimes when not following links
Discussed with Brian about some refactoring setTimes to make it more maintainable, and maybe drop the use of methods that only support micro seconds precision The AIX port may hold us back, not sure. So approving for now, there will be cleanup to follow.
-------------
Marked as reviewed by alanb (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/21886#pullrequestreview-2421637637
More information about the nio-dev
mailing list