8181493: (fs) Files.readAttributes(path, BasicFileAttributes.class) should preserve nano second time stamps
Brian Burkhalter
brian.burkhalter at oracle.com
Thu Aug 8 15:52:33 UTC 2019
HI Christoph,
I don’t know of a programmatic way to check whether nanosecond precision is supported. Do you happen to know the file system type (and os.name property)? Right now the test has this exclusion
53 if (System.getProperty("os.name").toLowerCase().startsWith("mac") &&
54 store.name().equalsIgnoreCase("hfs")) {
55 System.err.println
56 ("HFS on macOS does not have nsec timestamps: skipping test");
57 return;
58 }
Thanks,
Brian
> On Aug 8, 2019, at 7:56 AM, Langer, Christoph <christoph.langer at sap.com> wrote:
>
> it seems that we‘re encountering this behavior on old Suse SLES 11.3 and 11.4 machines, both ppc64 and linuxx86_64.
>
> Maybe these can somehow be excluded from the test? Or the test can detect upfront when nanotime isn’t supported?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/nio-dev/attachments/20190808/522b4707/attachment.html>
More information about the nio-dev
mailing list