It resolves a bug of LinkedList: LinkedList's hasNext() and hasPrevious() don't check concurrent-modification. Thus, if the 2nd last listener is removed, hasNext() simply return false (and the last listener is ignored) rather than throwing ConcurrentModificationException. Refer to Bug 1730532. @author tomyeh
|
|