[picocontainer-dev] Re: Bug in PicoContainer -- Duh solution :)
"Michael Rimov" <[email protected]>
| Newsgroups | gmane.comp.java.picocontainer.devel |
|---|---|
| Organization | Centerline Computers, Inc. |
| Message-ID | <000001c842a8$59b7dd20$0d279760$@com> |
Sorry, writing this from a different machine so I don't have the original
topic... but regarding the collections in DefaultPicoContainer storing an
Integer so Garbage collection can take place, I realized a simple guarantee
would be to use WeakReferences in startedChildren and startedAdapters:
Since children and adapters hold real references to the objects, then
references should be valid.
I'm checking in the result.
-Mike
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email