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

ComboBoxBaseSkin: memory leak when changing skin

XMLWordPrintable

    • b11

      as determined by SkinMemoryLeakTest (remove line 166) and a leak tester
      https://github.com/andy-goryachev-oracle/Test/blob/main/src/goryachev/apps/LeakTest.java

      Affected skins:
      - ColorPicker
      - DatePicker
      - ComboBox

      caused by:
      - out-of-order modification of the control property (skin.install)
      - adding skin nodes and not removing them in dispose()
      - adding listeners and not removing them in dispose()

      NOTE: the fix will require not only ListenerHelper JDK-8294809 but also Skin.install() JDK-8290844 changes.

            angorya Andy Goryachev
            angorya Andy Goryachev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: