API for parsing path strings
Roger.Riggs at Oracle.com
Thu Jul 19 20:30:30 UTC 2018
No particular novel use cases.
There are quite a few places in OpenJDK tools, etc that naively use
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.
On 7/19/2018 4:20 PM, Brian Burkhalter wrote:
> Hi Roger,
> I was just wondering whether you have some specific use cases in mind.
> On Jul 19, 2018, at 12:39 PM, Roger Riggs <Roger.Riggs at Oracle.com
> <mailto:Roger.Riggs at Oracle.com>> wrote:
>> Parsing of paths such as the values of properties java.class.path and
>> do not have direct support in the Java API.
>> There are several implementations within OpenJDK and a few variations
>> exist with regard to
>> treatment of empty path elements and on Windows support for quoting.
>> Would it be useful to have an API such as the following:
>> Suggestions welcome, Roger
More information about the core-libs-dev