RFR: 8371722: java/net/httpclient/BufferSizePropertyClampTest.java should use Locale.ROOT [v2]
Daniel Fuchs
dfuchs at openjdk.org
Wed Nov 12 18:03:33 UTC 2025
> 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
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/28270/files
- new: https://git.openjdk.org/jdk/pull/28270/files/2c9acb4b..e2f803fe
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=28270&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=28270&range=00-01
Stats: 11 lines in 1 file changed: 7 ins; 2 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/28270.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/28270/head:pull/28270
PR: https://git.openjdk.org/jdk/pull/28270
More information about the net-dev
mailing list