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

Difference in getGroupingSeparator from JDK 8 to 10

XMLWordPrintable

      A DESCRIPTION OF THE PROBLEM :
      Locale locale = new Locale("fr", "CH");
      NumberFormat format = NumberFormat.getNumberInstance(locale);
      DecimalFormatSymbols s = ((DecimalFormat) format).getDecimalFormatSymbols();
      System.out.println((int)s.getGroupingSeparator());

      java 8: 39
      java 10.0.1 and 11: 160

      REGRESSION : Last worked in version 8u161


      FREQUENCY : always


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

              Created:
              Updated:
              Resolved: