On Fri, 15 May 2026 09:57:50 GMT, Volkan Yazici <[email protected]> wrote:
>> Document and test empty path segment normalization in `java.net.URI`. >> >> --------- >> - [X] I confirm that I make this contribution in accordance with the >> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). > > Volkan Yazici has updated the pull request incrementally with one additional > commit since the last revision: > > Apply suggestions from Daniel test/jdk/java/net/URI/Test.java line 1159: > 1157: .norm().s("s").h("a").p("/").z(); > 1158: test("s://a" + s1 + "1").s("s").h("a").p(s1 + "1").z() > 1159: .norm().s("s").h("a").p("/1").z(); Suggestion: test("s://a" + s1).s("s").h("a").p(s1).z() .norm().s("s").h("a").p("/").z(); test("s://a" + s1 + "1").s("s").h("a").p(s1 + "1").z() .norm().s("s").h("a").p("/1").z(); test("//a" + s1).h("a").p(s1).z() .norm().h("a").p("/").z(); test("//a" + s1 + "1").h("a").p(s1 + "1").z() .norm().h("a").p("/1").z(); ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/31150#discussion_r3247427985
