Integrated: 8371722: java/net/httpclient/BufferSizePropertyClampTest.java should use Locale.ROOT
Daniel Fuchs
dfuchs at openjdk.org
Thu Nov 13 10:48:34 UTC 2025
On Wed, 12 Nov 2025 16:35:35 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.
This pull request has now been integrated.
Changeset: 48c59faf
Author: Daniel Fuchs <dfuchs at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/48c59faf58a4d7b7ec9d6824a5cbc9a55888ce72
Stats: 13 lines in 1 file changed: 8 ins; 2 del; 3 mod
8371722: java/net/httpclient/BufferSizePropertyClampTest.java should use Locale.ROOT
Reviewed-by: djelinski, jpai, vyazici
-------------
PR: https://git.openjdk.org/jdk/pull/28270
More information about the net-dev
mailing list