java/net/httpclient/BufferSizePropertyClampTest.java should use Locale.ROOT

XMLWordPrintable

    • 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>
      ```

            Assignee:
            Daniel Fuchs
            Reporter:
            Daniel Fuchs
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: