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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b150

      Description

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: