>>>>> "Keith" == Keith Seitz <[EMAIL PROTECTED]> writes:

Keith> Unfortunately, with the WeakHashMap, there is no way to get the keys put
Keith> into a ReferenceQueue (that I can see at least). Consequently, I'll
Keith> never know when to clean up the idTable unless I iterate over the table,
Keith> asking each ID whether its object is still valid.

It seems like you could make a second WeakReference just for the queue.
A little ugly though.

Tom


_______________________________________________
Classpath-patches mailing list
Classpath-patches@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath-patches

Reply via email to