The code in JFreeChart.java, in the notifyListeners(ChartChangeEvent) method seems to prevent listeners from removing themselves in response to the event - a ConcurrentModificationException would be thrown when the List.remove(Object) is called.
Generally, a copy of the listeners (e.g. into an array) is iterated over, allowing the main listener list to be modified.
I haven't written the test code to produce this error, so I could be wrong... if so, sorry for bothering.
JR
JFreeChart.notifyListeners bug?
Re: JFreeChart.notifyListeners bug?
You are probably right...I will take a look.
Regards,
DG.
Regards,
DG.