RFR: 8343417: (fs) BasicFileAttributeView.setTimes uses microsecond precision with NOFOLLOW_LINKS

Brian Burkhalter bpb at openjdk.org
Mon Nov 4 19:35:01 UTC 2024


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.

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

Commit messages:
 - 8343417: (fs) BasicFileAttributeView.setTimes uses microsecond precision with NOFOLLOW_LINKS

Changes: https://git.openjdk.org/jdk/pull/21886/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=21886&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8343417
  Stats: 134 lines in 4 files changed: 113 ins; 4 del; 17 mod
  Patch: https://git.openjdk.org/jdk/pull/21886.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/21886/head:pull/21886

PR: https://git.openjdk.org/jdk/pull/21886


More information about the nio-dev mailing list