Integrated: 8246745: ListCell/Skin: misbehavior on switching skin
Jeanette Winzenburg
fastegal at openjdk.java.net
Fri Sep 11 12:23:57 UTC 2020
On Wed, 10 Jun 2020 12:25:04 GMT, Jeanette Winzenburg <fastegal at openjdk.org> wrote:
> ListCellSkin installs listeners to the ListView/fixedCellSize that introduce a memory leak, NPE on replacing the
> listView and incorrect update of internal state (see bug report for details)
> Fixed by removing the listeners (and the internal state had been copied from listView on change) and access of listView
> state when needed.
> Added tests that failed before and pass after the fix, plus a sanity test to guarantee same (correct) behavior
> before/after.
This pull request has now been integrated.
Changeset: 0514116f
Author: Jeanette Winzenburg <fastegal at openjdk.org>
URL: https://git.openjdk.java.net/jfx/commit/0514116f
Stats: 98 lines in 4 files changed: 32 ins; 59 del; 7 mod
8246745: ListCell/Skin: misbehavior on switching skin
Reviewed-by: kcr, arapte
-------------
PR: https://git.openjdk.java.net/jfx/pull/251
More information about the openjfx-dev
mailing list