FormatStringConverter should convert only full Strings

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 8u40
    • Affects Version/s: None
    • Component/s: javafx
    • None

      Currently, FormatStringConverter converts also string that can be only partially converted to the value.

      E.g.

      FormatStringConverter fsc = new FormatStringConverter(NumberFormat.getInstance());
      System.out.println(fsc.fromString("1.0abcd"));

      this code works but should throw Exception.

            Assignee:
            Martin Sládeček
            Reporter:
            Martin Sládeček
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: