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.r...@oracle.com> > À: "Rémi Forax" <fo...@univ-mlv.fr> > Cc: "Brian Burkhalter" <brian.burkhal...@oracle.com>, > core-libs-dev@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 < fo...@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