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. ------------- Commit messages: - 8371722: java/net/httpclient/BufferSizePropertyClampTest.java should use Locale.ROOT Changes: https://git.openjdk.org/jdk/pull/28270/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28270&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8371722 Stats: 4 lines in 1 file changed: 1 ins; 0 del; 3 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
