ListProperty stops firing events after adding a second ChangeListener

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 8
    • Affects Version/s: 7u15
    • Component/s: javafx
    • Environment:

      Win7 x64, Java7u17, JavaFX 2.2.7

      Please confer to https://forums.oracle.com/forums/thread.jspa?threadID=2529545 for the example code.
      It adds two ChangeListeners to a ListProperty and then sets its value. Expected behaviour is that both listeners get notified. Actual is, that none gets notified, resulting in the following output:

      Setting list.
      Value: [1, 2, 3]

       
      After removing the registration of the second listener, the first one gets notified as expected.

      Using an IntegerProperty, both listeners get notified as expected.

            Assignee:
            Martin Sládeček
            Reporter:
            J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: