The below member variables and a method of class SelectedItemsReadOnlyObservableList are not required anymore.
Variables: itemsList, itemsListChanged, itemsListChange, itemsListListener.
Method: setItemsList
These were added when the file was created forJDK-8154216.
But later after the fix forJDK-8152396, these class members are not required.
There are two leak issues reported for the code in question
JDK-8227619 and JDK-8237926
Variables: itemsList, itemsListChanged, itemsListChange, itemsListListener.
Method: setItemsList
These were added when the file was created for
But later after the fix for
There are two leak issues reported for the code in question
- duplicates
-
JDK-8237926 Potential memory leak of model data in javafx.scene.control.ListView
- Resolved
- relates to
-
JDK-8152396 ArrayIndexOutOfBoundsException when listening to selection changes on TreeTableView
- Resolved
-
JDK-8154216 Remove usage of ReadOnlyUnbackedObservableList in selection models for the selectedItems list
- Resolved
-
JDK-8237926 Potential memory leak of model data in javafx.scene.control.ListView
- Resolved
-
JDK-8227619 Potential memory leak in javafx.scene.control.ListView
- Closed