Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8273071

SeparatorSkin: must remove child on dispose

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • jfx18
    • jfx16
    • javafx

      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

            fastegal Jeanette Winzenburg
            fastegal Jeanette Winzenburg
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: