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

standard-decimal with two different grouping sizes cannot be handled correctly

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 14
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:

      Description

      According CLDR definition, below locales follow standard-decimal #,##,##0.### which has two different grouping sizes, but java looks cannot correctly return the secondary grouping size
      ·as· ·bn· ·brx· ·ccp· ·dz· ·en_IN· ·gu· ·hi· ·kok· ·ks· ·ml· ·mr· ·or· ·pa· ·ta· ·te·

      For example:
      input data:123456789
      Expected result on en_IN should be 12,34,56,789, according to CLDR definition: https://www.unicode.org/reports/tr35/tr35-numbers.html#Number_Format_Patterns
      Actually: 123,456,789

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                naoto Naoto Sato
                Reporter:
                yzhou Daisy Zhou
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: