Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8169003

LogDecorations.iso8601_utctime_test fails if numeric locale uses "," as separator between integer and fraction part

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • hotspot
    • b150

      LogDecorations.iso8601_utctime_test fails if numeric locale uses "," as separator between integer and fraction part.

      sscanf parses double basing on LC_NUMERIC locale.
      In case if ru_RU.UTF-8 locale is set sscanf expects that float point types use "," as delimiter.

      As result the test fails to read fraction part and reads it to trailing character.

      The same issue also exists in LogDecorations.iso8601_time

            kzhaldyb Kirill Zhaldybin (Inactive)
            kzhaldyb Kirill Zhaldybin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: