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

Reference held by currentObservableValue in empty TableCell

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P5 P5
    • tbd
    • 8u45
    • javafx

      When clearing the items of a TableView, the "currentObservableValue" property of the TableCell instances still hold references to the items that were in the cells previously.

      Event thought this might not be considered as a memory leak, it would be nice if the property "currentObservableValue" could be set to "null" for empty cell.

      This could be done by overriding the Cell#updateItem(T item, boolean parameter) int TableCell and set the "currentObservableValue" to null (after removing any listeners) if the empty parameter is true.

            Unassigned Unassigned
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Imported: