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

Change in GroupingSeparator: de_CH in JDK 11

    XMLWordPrintable

Details

    Description

      ADDITIONAL SYSTEM INFORMATION :
      Windows 10 64x

      A DESCRIPTION OF THE PROBLEM :
      Our company found out that the GroupingSeparator Change from JDK 8 to JDK 11 (11.0.3):
      - before the JDK update we get this character: '
      - after the JDK update we get another: it looks like that: ’

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      GroupingSeparator like before: '
      ACTUAL -
      like ’

      ---------- BEGIN SOURCE ----------
      Locale.setDefault(new Locale("de", "CH"));
      Locale locale = Locale.getDefault();
      DecimalFormatSymbols decimalFormatSymbols = new DecimalFormatSymbols(locale);
      System.out.println(decimalFormatSymbols.getGroupingSeparator());
      ---------- END SOURCE ----------

      FREQUENCY : always


      Attachments

        Activity

          People

            psonal Pallavi Sonal (Inactive)
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: