View results here ->
http://cruisecontrol.jboss.com/cc/buildresults/jboss-3.2?log=log20041005131426Lbuild.95
|
| 1.43.2.22 | modified | genman | system/src/main/org/jboss/deployment/MainDeployer.java | Fix bug [ 1040694 ] ConcurrentModificationException in MainDeployer when logging, hold the lock on deploymentListIn listIncompletelyDeployed, copy deploymentList before iteratingSince deployers are a LinkedList, use IteratorUse separate mutex for deploymentMap -- locking on deploymentList is confusingList copy = new ArrayList(list) requires a lock when copying deploymentList This was not done in shutdown()This is why: (c.f. java/util/ArrayList.java) public ArrayList(Collection c) { size = c.size(); // Allow 10% room for growth elementData = new Object[ (int)Math.min((size*110L)/100,Integer.MAX_VALUE)]; c.toArray(elementData); } |