I've stumbled on an issue where ObservableElementList can cause an
IndexOutOfBoundsException in java.util.ArrayList when switching to multi
There are two conditions:
- the Connector is smart enough to skip over some elements and attach a listener
- but not smart enough to re-use the same listener object for each element it
The exception is consistently thrown when adding the second element that the
Connector attaches a listener to, but only if there are elements in the list
which were skipped over.
I will attach a JUnit test that demonstrates the problem.