[jdk21u-dev] RFR: 8332020: jwebserver tool prints invalid URL in case of IPv6 address binding

Taizo Kurashige tkurashige at openjdk.org
Sun Jul 20 11:38:40 UTC 2025


On Fri, 18 Jul 2025 09:11:50 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:

>> Hi,
>> 
>> This is a backoport of JDK-8332020: jwebserver tool prints invalid URL in case of IPv6 address binding
>> 
>> Original patch applies cleanly to 21u.
>> 
>> Testing: test/jdk/com/sun/net/httpserver/simpleserver passes on Windows Server 2022
>> 
>> Thanks.
>
> @kurashige23 I had a look at this yesterday for approval. Could you explain the relationship this has with #1981? They seem unrelated and while I tend to think approval of this one is ok, the depending one isn't necessarily unless you can explain what it actually fixes and why this is an issue now. Thanks!

@jerboaa 

By applying this PR, we can apply #1981 cleanly.

First, because the bug of JDK-8353698 can be reproduced in 21u, I thought about backporting JDK-8353698 to 21u. However, the patch of JDK-8353698 could not be applied cleanly because IPv6BoundHost.java added in JDK-8332020 does not exist in 21u. Therefore, since I confirmed that the bug of JDK-8332020 can be reproduced in 21u, I considered this PR as a PR that #1981 depends on.

Thanks.

-------------

PR Comment: https://git.openjdk.org/jdk21u-dev/pull/1980#issuecomment-3094462480


More information about the jdk-updates-dev mailing list