[Swift-commit] r2292 - trunk/src/org/griphyn/vdl/type

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Mon Oct 13 15:08:21 CDT 2008


Author: hategan
Date: 2008-10-13 15:08:20 -0500 (Mon, 13 Oct 2008)
New Revision: 2292

Modified:
   trunk/src/org/griphyn/vdl/type/Types.java
Log:
fixed cme; getType may add types

Modified: trunk/src/org/griphyn/vdl/type/Types.java
===================================================================
--- trunk/src/org/griphyn/vdl/type/Types.java	2008-10-13 06:15:00 UTC (rev 2291)
+++ trunk/src/org/griphyn/vdl/type/Types.java	2008-10-13 20:08:20 UTC (rev 2292)
@@ -68,7 +68,8 @@
 	}
 
 	public synchronized static void resolveTypes() throws NoSuchTypeException {
-		Iterator i = types.entrySet().iterator();
+		Map typesCopy = new HashMap(types);
+		Iterator i = typesCopy.entrySet().iterator();
 		while (i.hasNext()) {
 			Map.Entry e = (Map.Entry) i.next();
 			Type type = (Type) e.getValue();




More information about the Swift-commit mailing list