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

List.sort should specify the sort is stable

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 10
    • None
    • core-libs
    • None

      As reported by Piotr Findeisen (http://mail.openjdk.java.net/pipermail/core-libs-dev/2017-November/050015.html) Collections.sort specifies the sort must be stable. It defers to List.sort, which only specifies that the default implementation is stable.

      We need to update the specification of List.sort.

            psandoz Paul Sandoz
            psandoz Paul Sandoz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: