Index: src/main/java/org/jboss/virtual/plugins/context/AbstractVFSContext.java =================================================================== --- src/main/java/org/jboss/virtual/plugins/context/AbstractVFSContext.java (revision 87515) +++ src/main/java/org/jboss/virtual/plugins/context/AbstractVFSContext.java (working copy) @@ -422,7 +422,9 @@ public Iterable getTempInfos() { Map result = new TreeMap(); - Iterator>> iter = tempInfos.entrySet().iterator(); + // Make a quick copy and iterate over that to reduce the chances of ConcurrentModificationExceptions. + Map> tempInfosCopy = new HashMap>(tempInfos); + Iterator>> iter = tempInfosCopy.entrySet().iterator(); while(iter.hasNext()) { Map.Entry> entry = iter.next();