Thanks. Makes sense because when I tried looking it up in the GWT HashMap implementation, I couldn't find it :D.
On Thu, Mar 19, 2009 at 10:17 AM, Scott Blum <[email protected]> wrote: > By the way, GWT doesn't actually throw CoMods in web mode. So that's the > real JRE you were tangling with. :-) > > > On Wed, Mar 18, 2009 at 10:08 PM, Vitali Lovich <[email protected]> wrote: > >> It's actually not event listeners - it's just a simple messaging delivery >> system I wrote. I was more referring to me being stupid & not stepping >> remembering that I had modified the map. I just saw >> ConcurrentModificationException, no obvious modification of the map within >> the iteration, and just got confused about what's going on. >> >> >> On Wed, Mar 18, 2009 at 7:18 PM, Ray Ryan <[email protected]> wrote: >> >>> >>> FWIW, the HandlerManager class introduced in 1.6 allows concurrent >>> mods. Because really you're not so silly to want to do that. >>> >>> rjrjr >>> >>> On Wed, Mar 18, 2009 at 3:53 PM, Vitali Lovich <[email protected]> >>> wrote: >>> > Sorry - it was my fault. I tracked it down. Within the listener, I >>> was >>> > unregistering it - stupid me. >>> > >>> > Thanks for your help >>> > Vitali >>> > >>> > >>> > On Wed, Mar 18, 2009 at 6:43 PM, Ray Cromwell <[email protected]> >>> wrote: >>> >> >>> >> >>> >> On Wed, Mar 18, 2009 at 3:31 PM, Vitali Lovich <[email protected]> >>> wrote: >>> >>> >>> >>> Nope - still throws an exception. Nothing in the code example above >>> >>> modifies the hashset (I print a message when I register a listener, >>> and I'm >>> >>> not getting that) - I'm going to verify this though (step through the >>> first >>> >>> successful call) >>> >> >>> >> Is this happening in web mode, hosted mode, or both? Does it happen in >>> >> hosted mode? >>> >> -Ray >>> >> >>> >>> >>> >>>> >>> >>>> -Ray >>> >>>> >>> >>>> >>> >>> >>> >>> >>> >>> >>> >> >>> >> >>> >> >>> > >>> > >>> > > >>> > >>> >>> >>> >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~----------~----~----~----~------~----~------~--~---
