Paul Fisher wrote:
>
> Uh sure. I'm only using the Collections stuff from classpath
> (java.lang.Comparable, java.lang.UnsupportedOperationException and alot
> >from java.util). But the problem stack trace is:
>
> java.util.ConcurrentModificationException
> at java.util.LinkedList$1.checkMod(LinkedList.java:106)
> at java.util.LinkedList$Iter.hasNext(LinkedList.java:185)
> at
> java.util.AbstractCollection.contains(AbstractCollection.java:128)
> at jx4.JX4.addLogBackend(JX4.java:108)
> at jx4.Bootstrapper.run(Bootstrapper.java:125)
> at jx4.JX4.main(JX4.java:80)
> [snip]
> public void checkMod(int known) {
> if (known < modCount) {
> throw new ConcurrentModificationException();
> }
> }
Ouch. That's my code... the version of LinkedList that I checked in was
completely untested other than making sure it compiled, because I
suddenly found myself without any time available to hack on it, and I
wanted to get *something* committed. I'll look into it today and
tomorrow and try to get an at least minimally tested version for you - I
can't promise though, because my time is still pretty limited. If anyone
else wants to try to track this down, go for it.
Sorry for the mess,
Stuart.