> ChoiceBox leaves a memory leak when replacing the selectionModel. Culprit is > ChoiceBoxSelectionModel which registers > listener with strong references. Fix is to change these to weak references. > Added test that fails before and passes after the test. > > for convenience, the bug reference > https://bugs.openjdk.java.net/browse/JDK-8241455
Jeanette Winzenburg has updated the pull request incrementally with one additional commit since the last revision: widened issue/fix/test for all controls with selection/focus models ------------- Changes: - all: https://git.openjdk.java.net/jfx/pull/148/files - new: https://git.openjdk.java.net/jfx/pull/148/files/56d16954..d2918fb5 Webrevs: - full: https://webrevs.openjdk.java.net/jfx/148/webrev.01 - incr: https://webrevs.openjdk.java.net/jfx/148/webrev.00-01 Stats: 358 lines in 5 files changed: 312 ins; 34 del; 12 mod Patch: https://git.openjdk.java.net/jfx/pull/148.diff Fetch: git fetch https://git.openjdk.java.net/jfx pull/148/head:pull/148 PR: https://git.openjdk.java.net/jfx/pull/148