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

ListViewSkin/Behavior: misbehavior on switching skin

    Details

      Description

      currently, ListView is excluded from both Skin- and BehaviorMemoryLeakTest - including it in both makes both tests fail

      issues with behavior:
      - memory leak due to an eventHandler that's added as filter and removed as handler
      - after dispose, still modifying listView (anchor) state due to listeners to items/selection that are not removed

      issues with skin:
      - memory leak due to behavior leaking
      - memory leak due an eventHandler to scrollTo added (and not removed) in super (== VirtualContainerBase)
      - memory leak due to cellFactory in flow not removed
      - throws NPE after switching (on setItems, modify items, refresh) due to several listeners not removed by the skin itself

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: