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

[Fmt-Nu] Fail to parse integer portion of currency formatted in de_DE locale

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.4.0
    • core-libs
    • None
    • generic
    • generic

      [Please ignore should I have already filed this.]

      The attached program throws this exception:

      Exception in thread "main" java.text.ParseException: Unparseable number: "123.456,78 ?"
              at java.text.NumberFormat.parse(NumberFormat.java:314)
              at FormatParseCurrency_de_DE.main(FormatParseCurrency_de_DE.java:15)

      The program works fine for other locales such as en_US or it_IT.

            nishjain Nishit Jain
            jlueheorcl Jan Luehe (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: