RFR: 8343785: (fs) Remove syscalls that set file times with microsecond precision
Andrey Turbanov
aturbanov at openjdk.org
Tue Nov 12 19:28:22 UTC 2024
On Fri, 8 Nov 2024 16:18:55 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
> Remove the syscalls `utimes`, `futimes`, and `lutimes` that set the file access and modification times using microsecond precision.
src/java.base/macosx/classes/sun/nio/fs/BsdFileAttributeViews.java line 106:
> 104: try {
> 105: setattrlist(path, commonattr, 0L, 0L, createValue,
> 106: followLinks ? 0 : UnixConstants.FSOPT_NOFOLLOW);
Suggestion:
followLinks ? 0 : UnixConstants.FSOPT_NOFOLLOW);
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/21989#discussion_r1838647936
More information about the nio-dev
mailing list