RFR: 8343785: (fs) Remove syscalls that set file times with microsecond precision [v2]

Christoph Langer clanger at openjdk.org
Wed Nov 13 06:19:55 UTC 2024


On Wed, 13 Nov 2024 00:47:49 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.
>
> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8343785: Use file descriptor in preference to path; add AIX to test @requires

test/jdk/java/nio/file/attribute/BasicFileAttributeView/SetTimesNanos.java line 29:

> 27:  * @requires (os.family == "aix") | (os.family == "linux") |
> 28:  *           (os.family == "mac") | (os.family == "windows")
> 29:  * @library ../.. /test/lib

I'll run another set of testing. Should the test work on AIX, I think we can remove the `@requires` section altogether.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21989#discussion_r1839519406


More information about the nio-dev mailing list