[jdk21u-dev] RFR: 8332020: jwebserver tool prints invalid URL in case of IPv6 address binding
Severin Gehwolf
sgehwolf at openjdk.org
Mon Jul 21 09:44:45 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.
OK thanks. Next time please explain in the PRs what the goal is. In this case, you want to backport JDK-8353698 to OpenJDK 21u and this is a dependency which seems low risk enough to bring it in as well. My original concern for JDK-8353698 was that JEP 400, which is in JDK 21 as well so it's OK.
-------------
PR Comment: https://git.openjdk.org/jdk21u-dev/pull/1980#issuecomment-3095940534
More information about the jdk-updates-dev
mailing list