8011536: (fs) BasicFileAttributes.creationTime() should return birth time (mac)

Chris Hegarty chris.hegarty at oracle.com
Wed Apr 17 13:00:39 PDT 2013


Looks fine to me Alan.

Trivially, the change to the example in the javadoc for 
BasicFileAttributeView. Should this be setTimes(null, time, *null*) ??

-Chris.

On 15/04/2013 14:05, Alan Bateman wrote:
>
> One of the things left over from the Mac port is to return the
> st_birthtime as the creationFile attribute. This can be exposed in the
> stat structure on 64-bit builds. As part of this, I've cleaned-up the
> handling of optional sys calls as we were missing a way to indicate if
> futimes (or futimesat) is supported or not.
>
> The webrev with the proposed changes is here:
>
> http://cr.openjdk.java.net/~alanb/8011536/webrev/
>
> -Alan.


More information about the nio-dev mailing list