RFR: WIP: 8245282: ButtonBehavior: memory leak on dispose

Jeanette Winzenburg fastegal at openjdk.java.net
Wed May 20 13:49:35 UTC 2020


On Wed, 20 May 2020 11:15:34 GMT, Jeanette Winzenburg <fastegal at openjdk.org> wrote:

> 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)

-------------

PR: https://git.openjdk.java.net/jfx/pull/226


More information about the openjfx-dev mailing list