UndoableEditSupport doesn't support modifying listeners vector during notifi.

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 1.4.0
    • Affects Version/s: 1.2.0
    • Component/s: client-libs
    • None
    • beta
    • generic
    • generic

      UndoableEditSupport doesn't support modifying listeners vector during notification.

      If I'm an UndoableEditListener and get notified by UndoableEditSupport I cannot remove myself as a listener in my undoableEditHappened method because UndoableEditSupport doesn't clone the listeners collection, instead enumerates on it directly.

      Look in java.beans.PropertyChangeSupport for correct implementation

            Assignee:
            Scott Violet (Inactive)
            Reporter:
            J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: