Can we deprecate Path.endsWith(String)?

Alan Bateman alan.bateman at oracle.com
Wed Jan 14 07:15:11 UTC 2026



On 13/01/2026 20:13, Anthony Vanelverdinghe wrote:
>
> There are 3 questions:
>
> (1) should we deprecate `Path::startsWith(String)`?
> (2) should we deprecate `Path::endsWith(String)`?
> (3) should we add a file extension API?
>
The "plan" is to deprecate startsWith(String) and endsWith(String), and 
to reboot the effort to add the file extension API.

-Alan


More information about the core-libs-dev mailing list