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

☂ Cleanup skin implementations to allow switching

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • None
    • javafx
    • None

      Identify and correct the dispose() of different control skins which do not cleanup correctly when disposed.

      Some cleanups are to remove the,
      1. listeners added to control's property, Use registerChangeListener() wherever possible.
      2. event handlers added to control.
      3. bindings created with controls property.
      4. KeyCombination added to Scene.getAccelerators().

      5. return if getSkinnable() == null, so that multiple calls to dispose() do not cause NPE. JDK-8244112
      6. children added repeatedly JDK-8245145
      7. ineffective removal of listeners JDK-8245282

      Please update the list as and when a new cleanup is encountered.

            angorya Andy Goryachev
            arapte Ambarish Rapte
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: