-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 26
-
Component/s: core-libs
-
master
The test java/net/httpclient/BufferSizePropertyClampTest.java expect numbers to be formatted in the US/ROOT locale, with `,` as the thousands separator. The test will fail if run in a locale that has different number digits or a different thousands separator - such as e.g. the Polish language which uses a non-breaking space as separator:
```
[org.opentest4j.AssertionFailedError: expected: <ERROR: Property value for jdk.httpclient.bufsize=-1 not in [1..16384]: using default=16384> but was: <ERROR: Property value for jdk.httpclient.bufsize=-1 not in [1..16?384]: using default=16?384>
```
```
[org.opentest4j.AssertionFailedError: expected: <ERROR: Property value for jdk.httpclient.bufsize=-1 not in [1..16384]: using default=16384> but was: <ERROR: Property value for jdk.httpclient.bufsize=-1 not in [1..16?384]: using default=16?384>
```
- links to
-
Commit(master)
openjdk/jdk/48c59faf
-
Review(master)
openjdk/jdk/28270