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

Tree-/TableRowSkin: misbehavior on switching skin

    XMLWordPrintable

    Details

      Description

      misbehavior:

      memory leak
      - manually registered listener to itemProperty not removed (TableRowSkinBase)
      - logic error in add/remove listener to fixedCellSize (Tree/TableRowSkin)

      NPE
      - due to access of skinnable after dispose, from listener to visibleLeafColumns and itemProperty (TableRowSkinBase)

      The cleanup will
      - change listener registration to use skinBase api always (for automatic removal in dispose)
      - replace listening to fixedCellSize by looking up the value as needed: this is basically the same as the fix for ListCellSkin JDK-8246745

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              fastegal Jeanette Winzenburg
              Reporter:
              fastegal Jeanette Winzenburg
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: