8245282: Button/Combo Behavior: memory leak on dispose #226
Reason for the memory leak is a listener on control's focusProperty that is not correctly removed on dispose. For details please see the report.
Added a test method to ButtonSkinTest that failed before and passes after the fix.
changed to WIP: just noticed that all ComboXXBehaviors have exactly the same issue with exactly the same fix. So will widen the bug report to include these as well and wait with fixing this until JDK-8244531 is integrated (which can then be used here for cross-behavior tests)
on changing the title, the bot lost the connection to the bug report, for convenience here it is again: JDK-8245282
@kleopatra This change now passes all automated pre-integration checks. When the change also fulfills all project specific requirements, type
Since the source branch of this PR was last updated there have been 9 commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid automatic rebasing, please merge
As you do not have Committer status in this project, an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@arapte) but any other Committer may sponsor as well.
Your commit was automatically rebased without conflicts.
Pushed as commit 853ac78.