commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Colebourne <scolebou...@btopenworld.com>
Subject Re: [lang] LANG-262
Date Tue, 12 Sep 2006 22:43:50 GMT
I don't know whether a WeakHashMap works when the keys are Class objects 
(as Class objects aren't exactly run-of the-mill).

This fix might work, or it might break things somewhere else. The 
[logging] team may be able to comment on WeakHashMap.

ATM, I'm against fixing it in a rush.

Stephen


Henri Yandell wrote:
> Any thoughts on this issue?
> 
> https://issues.apache.org/jira/browse/LANG-262
> 
> Says that the cEnumClasses Hashmap in the Enum class is keeping a
> ClassLoader from being garbage collected and that switching it to a
> WeakHashMap should fix it.
> 
> Seems fair to me, and an easy fix for 2.2; but not something I can
> think of simple ways to unit test.
> 
> Any thoughts?
> 
> Hen
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message