RFR: 8343417: (fs) BasicFileAttributeView.setTimes uses microsecond precision with NOFOLLOW_LINKS [v3]
Brian Burkhalter
bpb at openjdk.org
Wed Nov 6 15:39:29 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
> I think what you have is correct now but it's hard to follow as it's one of 4 sys calls. [...] I realise this is adding to the work on this change but right now it's hard for anyone to touch this method due to the many cases.
It definitely needs reworking but I do not know the details as yet.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/21886#issuecomment-2460094503
More information about the nio-dev
mailing list