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

☂ Cleanup skin implementations to allow switching

    Details

    • Type: Task
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: tbd
    • Component/s: javafx
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                arapte Ambarish Rapte
                Reporter:
                arapte Ambarish Rapte
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: