TableColumnBase.DEFAULT_COMPARATOR can lead to CCE

XMLWordPrintable

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

      If the comparator is called with different types (e.g. String and Integer) it will fail because it will call String.compareTo(). The check to use compareable would at least have to check if obj2 is assignable to obj1s type.

            Assignee:
            Jonathan Giles
            Reporter:
            Tom Schindl
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: