RFR: 8301761: The sorting of the SortedList can become invalid

Loay Ghreeb duke at openjdk.org
Thu Aug 8 20:22:06 UTC 2024


On Sun, 28 Jul 2024 04:13:30 GMT, Loay Ghreeb <duke at openjdk.org> wrote:

> Fix an issue in `SortedList` where the sorting became incorrect when adding new items that are equal to existing items according to the comparator. The `SortedList` should consider the insertion index of these items to maintain the correct order.

I submitted the OCA, but it's still under review.

-------------

PR Comment: https://git.openjdk.org/jfx/pull/1519#issuecomment-2259685053


More information about the openjfx-dev mailing list