Files.setLastModifiedTime doesn't work

Michael Hall mik3hall at gmail.com
Mon May 23 02:59:07 PDT 2011


On May 23, 2011, at 3:16 AM, Alan Bateman wrote:

> Michael Hall wrote:
>> I just posted on this to the nio.2 discuss list but I don't always seem to get through there. Maybe sending from a mail account other than the one I subscribed on.
>>  
> I checked the archives and I see you've sent mails in the past to both the nio-dev and nio-discuss lists. The most recent I found is with the same address that you are using now:
> 
> http://mail.openjdk.java.net/pipermail/nio-dev/2011-April/001314.html

Not a big concern as long as I can either raise these things here or on nio-dev list. I've posted there. Or I guess bugreport if that's considered appropriate.

> 
>> Anyhow I can't seem to get Files.setLastModifiedTime to work.
>>  
> Can you try changing Java_sun_nio_fs_UnixNativeDispatcher_futimes to use futimes rather than futimesat? I thought BSD had both but only see futimes on Mac OS. This issue does highlight an issue for upstream though in that the UnixNativeDispatcher.futimes method should fail rather than complete silently on platforms where the system call doesn't exist.

No idea what you're talking about at the moment Alan. If this is a property? Or something in the jdk source? Be happy to look at it if I know what I'm looking for. 



More information about the macosx-port-dev mailing list