commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Renè Glanzer <rene.glan...@gmail.com>
Subject Re: [collections] LRUMap Problem ConcurrentModificationException
Date Wed, 17 Jun 2009 18:09:37 GMT
I only gave it a short test. Then i found the MapIterator in the docs an
switched to it.
The docs stated that MapIterator is the better way than entrySet.
Sorry for this, I'm at home right now so i can test it with an entrySet at
the earliest tomorrow.

Looking forward to report the result.

2009/6/17 Jörg Schaible <joerg.schaible@gmx.de>

> Renè Glanzer wrote at Mittwoch, 17. Juni 2009 16:07:
>
> > Hi,
> >
> > it's me again with an update.
> > the LRUMap.mapIterator() still produces the
> > ConcurrentModificationException when a call to MapIterator.remove()
> > occurs.
>
> So did you also try with the entrySet? I've not written a unit test for the
> MapIterator, so I cannot say, what you should expect... :)
>
> - Jörg
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message