RFR 8194746: (fs) Add equivalents of Paths.get to Path interface

Alan Bateman Alan.Bateman at oracle.com
Thu Mar 15 14:01:48 UTC 2018



On 15/03/2018 13:54, Roger Riggs wrote:
> Hi Brian,
>
> Looks fine.
>
> I'm not sure how to interpret "obsolete" especially in relation to the 
> various contexts
> where "deprecated" is used.  I think it means code that uses Paths.get 
> should be modified
> to use Path.of.  This sounds like a vanilla use of @deprecated with a 
> convenient replacement.
> Not for removal of course because there's no plan to remove it (for now).
I don't think we should do this now as it would just annoy developers 
that compile to multiple releases. So I think something to re-visit 
again in a few releases.

-Alan


More information about the nio-dev mailing list