RFR 8194746: (fs) Add equivalents of Paths.get to Path interface
Brian Burkhalter
brian.burkhalter at oracle.com
Thu Mar 15 15:44:36 UTC 2018
On Mar 15, 2018, at 7:22 AM, Alan Bateman <Alan.Bateman at oracle.com> wrote:
> On 15/03/2018 14:05, Roger Riggs wrote:
>> Hi Alan,
>>
>> Perhaps then, say it "may be deprecated"... instead of "obsolete".
>> or lead the api note with the recommendation to use Path.of.
> That seems a good idea.
Would this be reasonable (in Paths class doc)?
* @apiNote
* As of JDK 11, it is recommended to obtain a {@code Path} via the
* {@code Path.of} methods instead of via the {@code get} methods defined in
* this class as this class might be deprecated.
Thanks,
Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20180315/62b6d04b/attachment.html>
More information about the nio-dev
mailing list