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

ChoiceBoxSkin: misbehavior on switching skin, part 2

XMLWordPrintable

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

      noted a new failing test:

          @Test @Ignore("left-over from choiceBoxSkin fix")
          public void testChoiceBoxSetItems() {
              ChoiceBox<String> box = new ChoiceBox<>();
              installDefaultSkin(box);
              replaceSkin(box);
              box.setItems(observableArrayList("one"));
              box.getItems().add("added");
          }

      Overlooked the listener to box' items property when fixing JDK-8244657 .. needs to be removed in dispose along with the others ;)

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

              Created:
              Updated:
              Resolved: