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

Difference in Behaviour Between ObservableMap & ObservableList When Tied to a Listener

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: 8u20
    • Fix Version/s: 8u20
    • Component/s: javafx
    • Labels:
      None
    • Environment:

      Windows 7.
      Java 8 Build 123.
      NetBeans 8.

    • Subcomponent:

      Description

      When I run a setAll on an ObservableList that has a ListChangeListener attached to it, the listener is only woken up once, after all of the items have been added to the list.

      Running putAll on an ObservableMap with a MapChangeListener does not have the same effect. It will wake the listener for every item being added to it.

        Attachments

          Activity

            People

            • Assignee:
              msladecek Martin Sládeček
              Reporter:
              duke J. Duke (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: