-
Type:
Bug
-
Resolution: Duplicate
-
Priority:
P4
-
Affects Version/s: 7u25
-
Component/s: javafx
If you add multiple ListChangeListeners to a SimpleListProperty, every listener after the first must call ListChangeListener.Change.reset() before it can use the the ListChangeListener.Change object.
ListChangeListener.Change.reset() is not required when multiple listeners are added to a FXCollections.observableList() object.
I've attached an example as a comment.
ListChangeListener.Change.reset() is not required when multiple listeners are added to a FXCollections.observableList() object.
I've attached an example as a comment.
- duplicates
-
JDK-8126388 SimpleListProperty incorrectly reuses ListChangeListener.Change object for different listeners
-
- Resolved
-