RFR: 8298187: (fs) BsdFileAttributeViews::setTimes does not support lastAccessTime on HFS+ [v5]

Brian Burkhalter bpb at openjdk.org
Wed Dec 14 18:25:05 UTC 2022


On Tue, 13 Dec 2022 17:13:18 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

>> If the path is on an HFS store, use the generic Unix implementation of `java.nio.file.attribute.BasicFileAttributeView::setTimes`to set the last access time.
>
> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8298187: Clean up try-open-catch block, formatting

`lutimes` must be used if the target is a link and links are _not_ being followed.

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

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


More information about the nio-dev mailing list