[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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.