Ivan Volosyuk wrote:
I see change was made to String.intern() method. IMHO, the new code
will not work correctly. I wanted to make WeakHashMap in which
WeakReference to String holds WeakReference to that string. Current
update changed it into WeakReference to String -> StrongReference to
String. The code will prevent dropping outdated string from the
WeakHashMap, as we have strong reference to that string in the
WeakHashMap value.

You're right, that wasy my fault. Revision 413558 should fix it
(back to the original algorithm).

-Archie

__________________________________________________________________________
Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to