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

Brian Burkhalter bpb at openjdk.org
Thu Dec 8 19:45:17 UTC 2022


On Thu, 8 Dec 2022 19:37:36 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> I don't think we should put in this workaround as it requires getting the FileStore each time that the last access time is set. This seems like a macOS bug that should be reported to Apple first.

I agree about reporting it to Apple, but I commented above because the changes starting at line 42 probably would work around most cases. The second group of changes could be removed.

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

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


More information about the nio-dev mailing list