API for parsing path strings
brian.burkhalter at oracle.com
Thu Jul 19 20:37:53 UTC 2018
Well if there is some developer interest in it and it would consolidate and make code more robust in the JDK then it seems worth pursuing.
On Jul 19, 2018, at 1:30 PM, Roger Riggs <Roger.Riggs at Oracle.com> wrote:
> No particular novel use cases.
> There are quite a few places in OpenJDK tools, etc that naively use string.split(pathSeparator) that
> will misbehave on Windows in the edge cases and may not be paying attention to the empty path component case.
> It would provide a measure of regularity and predictability to path parsing.
> There was a query on stack Overflow about such an API.
More information about the core-libs-dev