RFR: 8371722: java/net/httpclient/BufferSizePropertyClampTest.java should use Locale.ROOT [v2]

Daniel Jeliński djelinski at openjdk.org
Wed Nov 12 19:45:20 UTC 2025


On Wed, 12 Nov 2025 18:03:33 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

>> The test verifies that the expected message is logged by the jdk.httpclient.HttpClient logger. However it fails when run in e.g. Polish Locale because it expects 16,384 and finds 16 384 (with a non breaking space).
>> 
>> The proposed change makes sure we use Locale.ROOT to format the message.
>
> Daniel Fuchs has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Fix the fix

I verified that this fixed the test failures on my Windows machine.

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

Marked as reviewed by djelinski (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/28270#pullrequestreview-3455145226


More information about the net-dev mailing list