https://issues.apache.org/bugzilla/show_bug.cgi?id=46319





--- Comment #10 from Andreas L. Delmelle <[EMAIL PROTECTED]>  2008-12-02 
15:37:53 PST ---
(In reply to comment #9)
> (In reply to comment #7)
> > Is there a way to force their release? 
> 
> Quick fix would be to modify the code, at line 381 in Marker, and change it 
> to:
> 
> attributeCache.put(new java.lang.ref.WeakReference(newInstance), newInstance);
> 

Come to think of it, since it was mentioned as a possible cause, the better
solution may precisely be to use the PropertyCache here. If MarkerAttribute is
made public, then PropertyCache can expose a specialized fetch() for it. In the
end, internally, PropertyCache deals with Object, so can be used to serve any
type. Given that MarkerAttribute can also be classified as a property-related
class, it seems appropriate enough...


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to