8181493: (fs) Files.readAttributes(path, BasicFileAttributes.class) should preserve nano second time stamps
Alan Bateman
Alan.Bateman at oracle.com
Fri Jul 19 11:14:29 UTC 2019
On 18/07/2019 16:59, Brian Burkhalter wrote:
>
>
> Yes, it avoids an allocation.
Okay.
On the test then it would be better to use the scratch directory as
Lance suggests. Also would be useful to have it run a few hundred times
on all platforms before publish to be confident that it is reliable
(we've had a lot of issues with tests for file time stamps as you know).
-Alan
More information about the nio-dev
mailing list