-
Bug
-
Resolution: Fixed
-
P4
-
jfx16
Skin adds the line but never removes it.
failing test:
@Test
public void testControlChildren() {
installDefaultSkin(control);
int childCount = control.getChildrenUnmodifiable().size();
replaceSkin(control);
assertEquals("skin must remove direct children that it has added",
childCount, control.getChildrenUnmodifiable().size());
}
fix: remove in dispose
failing test:
@Test
public void testControlChildren() {
installDefaultSkin(control);
int childCount = control.getChildrenUnmodifiable().size();
replaceSkin(control);
assertEquals("skin must remove direct children that it has added",
childCount, control.getChildrenUnmodifiable().size());
}
fix: remove in dispose
- blocks
-
JDK-8241364 ☂ Cleanup skin implementations to allow switching
- Open