diff -r 5e1f648e021e javafx-ui-common/src/com/sun/javafx/WeakReferenceMap.java --- a/javafx-ui-common/src/com/sun/javafx/WeakReferenceMap.java Wed May 26 11:03:23 2010 -0700 +++ b/javafx-ui-common/src/com/sun/javafx/WeakReferenceMap.java Wed Jun 02 14:22:22 2010 -0700 @@ -19,7 +19,7 @@ @SuppressWarnings("unchecked") public Object put(Object key, Object obj) { - cleanup(); + remove(key); Entry entry = new Entry(); entry.weakKey = new WeakReference(key); entry.value = obj; @@ -97,4 +97,4 @@ WeakReference weakKey; Object value; } -} \ No newline at end of file +}