Search:

Type: Posts; User: Richard

Search: Search took 0.27 seconds.

  1. Replies
    2
    Views
    2,267

    Re: Listeners, CopyOnWriteArrayList and removals

    Thanks for the response. I found another thread discussing the same thing which may provide some background:
    https://www.ibm.com/developerworks/forums/thread.jspa?messageID=13754954&#13754954
    ...
  2. Replies
    2
    Views
    2,267

    Listeners, CopyOnWriteArrayList and removals

    A common suggestion to avoid ConcurrentModificationExceptions when iterating through listeners is to use a CopyOnWriteArrayList.

    But isn't there a possible issue that you will then call a listener...
Results 1 to 2 of 2