8181493: (fs) Files.readAttributes(path, BasicFileAttributes.class) should preserve nano second time stamps
Langer, Christoph
christoph.langer at sap.com
Thu Aug 8 14:56:51 UTC 2019
Hi Alan,
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?
/Christoph
From: Alan Bateman <Alan.Bateman at oracle.com>
Sent: Donnerstag, 8. August 2019 12:04
To: Langer, Christoph <christoph.langer at sap.com>; Brian Burkhalter <brian.burkhalter at oracle.com>
Cc: nio-dev <nio-dev at openjdk.java.net>
Subject: Re: 8181493: (fs) Files.readAttributes(path, BasicFileAttributes.class) should preserve nano second time stamps
On 08/08/2019 10:32, Langer, Christoph wrote:
Hi Brian,
after the change came in, we see sporadic test failures:
java.lang.RuntimeException: Expected modification timestamp to be '1483261261123456789', but was '1483261261000000000'
Which operating system is this? The actual timestamp is truncated which suggests that it doesn't support nanos.
-Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/nio-dev/attachments/20190808/128592b0/attachment.html>
More information about the nio-dev
mailing list