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

ObservableList.sorted() does nothing

XMLWordPrintable

      Javadoc for ObservableList.sorted() claims that the returned SortedList will have natural order. However the SortedList created with null Comparator returns an unsorted SortedList.

      The sorted() method must be changed to create SortedList with Comparator.naturalOrder() instead of null.

            vadim Vadim Pakhnushev
            rstachowijfx Radoslaw Stachowiak (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: