6939260: (fs) BasicFileAttributes.lastModifiedTime() should return last modified time with higher precision
Alan Bateman
Alan.Bateman at oracle.com
Fri Jan 18 03:28:07 PST 2013
On 18/01/2013 11:21, Chris Hegarty wrote:
> Looks fine to me.
>
> I admit that I'm not familiar with "_POSIX_C_SOURCE >= 200809L", but I
> guess this is just checking that the nano second time is available on
> more recent glic/posix versions on Linux.
Thanks for looking at this. The fields were added in POSIX.1-2008. The
reason for also using them on Solaris is that Solaris 10 pre-dates this
but provides the fields anyway.
-Alan.
More information about the nio-dev
mailing list