JDK 10 RFR of 8180767: A return value of zero from java.io.File#lastModified() is ambiguous

Alan Bateman Alan.Bateman at oracle.com
Tue May 23 10:02:28 UTC 2017


On 23/05/2017 00:15, Stuart Marks wrote:

>
> I think this is sufficient. People who care about this case will have 
> to rewrite their code using Files.readAttributes instead of 
> File.lastModified.
or Files.getLastModifiedTime if only this timestamp is needed.

-Alan


More information about the core-libs-dev mailing list