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

forax at univ-mlv.fr forax at univ-mlv.fr
Thu May 25 16:18:58 UTC 2017


I've created JDK-8181098 [1] and assign it to Alan. 

Rémi 

[1] https://bugs.openjdk.java.net/browse/JDK-8181098 

> De: "John Rose" <john.r.rose at oracle.com>
> À: "Rémi Forax" <forax at univ-mlv.fr>
> Cc: "Brian Burkhalter" <brian.burkhalter at oracle.com>,
> core-libs-dev at openjdk.java.net
> Envoyé: Mercredi 24 Mai 2017 22:11:42
> Objet: Re: JDK 10 RFR of 8180767: A return value of zero from
> java.io.File#lastModified() is ambiguous

> On May 24, 2017, at 2:02 AM, Remi Forax < forax at univ-mlv.fr > wrote:

>> As a meta-comment, we should deprecate java.io.File (with no for removal),
>> java.nio.file.Path is a nice replacement so java.io.File should be used only for
>> dealing with legacy code.

> This seems right to me. As a casual user of core-libs I would be
> less likely to use File in new code, and take a second to look for the
> better replacement, if it were in fact solidly deprecated.

> Could someone file a bug/rfe to follow this up? Debate about the ultimate
> worthiness of File could then be attached to the bug.

> — John


More information about the core-libs-dev mailing list