On Fri, 15 May 2026 09:17:13 GMT, Alan Bateman <[email protected]> wrote:
>> src/java.base/share/classes/java/net/URI.java line 179:
>>
>>> 177: *
>>> 178: * <p> <i>Normalization</i> is the process of removing unnecessary
>>> {@code "."},
>>> 179: * {@code ".."}, and {@code "//"} (empty) segments from the path
>>> component of a
>>
>> may I suggest:
>>
>> Suggestion:
>>
>> * {@code ".."} segments, and redundant {@code "/"} (empty segments) from
>> the path component of a
>>
>>
>> @AlanBateman would you agree?
>
> Yes, my main comment when first looking at this is that it gave the
> impression that all occurrences of "//" would be removed, that has been fixed.
Applied in 0ffb2cb01a1.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/31150#discussion_r3247348314