Index: C:/Documents and Settings/Nathan/Harmony/trunk/modules/luni/src/main/java/java/util/Hashtable.java =================================================================== --- C:/Documents and Settings/Nathan/Harmony/trunk/modules/luni/src/main/java/java/util/Hashtable.java (revision 405591) +++ C:/Documents and Settings/Nathan/Harmony/trunk/modules/luni/src/main/java/java/util/Hashtable.java (working copy) @@ -645,7 +645,8 @@ * the Map to copy mappings from */ public synchronized void putAll(Map map) { - Iterator> it = map.entrySet().iterator(); + Map add = (Map)map; + Iterator> it = add.entrySet().iterator(); while (it.hasNext()) { Map.Entry entry = it.next(); put(entry.getKey(), entry.getValue()); Index: C:/Documents and Settings/Nathan/Harmony/trunk/modules/luni/src/main/java/java/util/Set.java =================================================================== --- C:/Documents and Settings/Nathan/Harmony/trunk/modules/luni/src/main/java/java/util/Set.java (revision 405591) +++ C:/Documents and Settings/Nathan/Harmony/trunk/modules/luni/src/main/java/java/util/Set.java (working copy) @@ -18,8 +18,9 @@ /** * Set is a collection which does not allow duplicate elements. + * @since 1.2 */ -public interface Set extends Collection { +public interface Set extends Collection, Iterable { /** * Adds the specified object to this Set. The Set is not modified if it @@ -123,7 +124,7 @@ * * @see Iterator */ - public Iterator iterator(); + public Iterator iterator(); /** * Removes any occurrence of the specified object from this Set.