Saturday, November 7, 2009

How To Handle ConcurrentModificationException



Collections are accessed at same time means it may happen.
Step1:
Put collection classes inside the synchronized block
Step2:
If possible make method as synchronized.
Following links explains in details…
http://www.javaspecialists.eu/archive/Issue171.html

0 Comments:

Post a Comment

The Link Exchange - Your ultimate resource for link exchange!

About This Blog

  © Blogger template Webnolia by Ourblogtemplates.com 2009

Back to TOP