RFR: 8297275: WatchService delay with PollingWatchService causes test failures

Alan Bateman alanb at openjdk.org
Thu Nov 24 09:17:18 UTC 2022


On Thu, 24 Nov 2022 08:59:50 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> The implementation of getLastModifiedTime comes from UnixFileSystem code which is similar between the Unixes [2]. 

The implementation used is libnio/fs/UnixNativeDispatcher.c and there may be porting work required there to get timestamps with a precision of more than 1s. That is, it looks like AIX may use st_mtime_n rather than st_mtimespec.tv_nsec.

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

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


More information about the nio-dev mailing list