[jdk21u-dev] RFR: 8353698: Output of Simple Web Server is garbled if the console's encoding is not UTF-8

Taizo Kurashige tkurashige at openjdk.org
Fri Jul 18 00:58:54 UTC 2025


On Thu, 17 Jul 2025 20:20:18 GMT, Goetz Lindenmaier <goetz at openjdk.org> wrote:

>> Hi,
>> 
>> This is a backport of JDK-8353698: Output of Simple Web Server is garbled if the console's encoding is not UTF-8
>> 
>> Original patch applies cleanly to 21u.
>> This PR depends on #1980. So #1980 shoud be integrated first.
>> 
>> Testing: test/jdk/com/sun/net/httpserver/simpleserver passes on Japanese Windows and English Windows.
>> 
>> Thanks.
>
> Hi @kurashige23 
> I tried to run this through our testing. It does not apply though. 
> The patch to test/jdk/com/sun/net/httpserver/simpleserver/jwebserver/IPv6BoundHost.java
> is the problem.  Could you please merge head?

Hi @GoeLin 

This PR has dependent PR https://github.com/openjdk/jdk21u-dev/pull/1980, so I created this PR against pr/1980 branch according to "What to do with changes depending on each other?" in https://wiki.openjdk.org/display/JDKUpdates/How+to+contribute+or+backport+a+fix .

IPv6BoundHost.java was added in https://github.com/openjdk/jdk21u-dev/pull/1980.
I think https://github.com/openjdk/jdk21u-dev/pull/1980 shoud be integrated first.

Thanks.

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

PR Comment: https://git.openjdk.org/jdk21u-dev/pull/1981#issuecomment-3086151673


More information about the jdk-updates-dev mailing list