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

DecimalFormat.parseObject allows non-digits ...

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P5 P5
    • None
    • 1.1
    • core-libs
    • None
    • unknown
    • solaris_2.5.1

      The tutorial contains a demo program that creates a format like this:
              moneyFormat = NumberFormat.getNumberInstance();
      When the program calls the format's parseObject with a String argument that contains non-digits (for example "32g4878"), the parser accepts the number.


            nlindenbsunw Norbert Lindenberg (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: