--- old/src/share/classes/java/util/WeakHashMap.java 2012-05-03 14:15:25.082395544 +0800 +++ new/src/share/classes/java/util/WeakHashMap.java 2012-05-03 14:15:24.830394288 +0800 @@ -94,7 +94,10 @@ * to deal with this is to wrap values themselves within * WeakReferences before * inserting, as in: m.put(key, new WeakReference(value)), - * and then unwrapping upon each get. + * and then unwrapping upon each get. However, as the use of + * WeakReference in this manner will not prevent value objects + * from being GC'd, this approach is only useful when entries in the map + * are not relied upon for keeping the underlying value objects "live". * *

The iterators returned by the iterator method of the collections * returned by all of this class's "collection view methods" are