JDK 9 doc-api-only RFR of 6791812: (file spec) Incompatible File.lastModified() and setLastModified() for negative time
Stuart Marks
stuart.marks at oracle.com
Tue May 23 20:23:50 UTC 2017
On 5/23/17 8:21 AM, Brian Burkhalter wrote:
> So I guess this might be satisfy your and Stuart’s comments:
>
> --- a/src/java.base/share/classes/java/io/File.java
> +++ b/src/java.base/share/classes/java/io/File.java
> @@ -932,7 +932,9 @@
> * @return A <code>long</code> value representing the time the file was
> * last modified, measured in milliseconds since the epoch
> * (00:00:00 GMT, January 1, 1970), or <code>0L</code> if the
> - * file does not exist or if an I/O error occurs
> + * file does not exist or if an I/O error occurs; the value may
> + * be negative indicating the number of milliseconds before the epoch
Yes, this looks great. Thanks.
s'marks
More information about the core-libs-dev
mailing list