Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.0-RC-1
-
Component/s: PicoContainer (Java)
-
Labels:None
-
Environment:heavy duty web server
-
Number of attachments :
Description
Guilty code in buildContainer():
--%<----------
// register the child in the parent so that lifecycle can be propagated down the hierarchy
if (parentContainer != null && parentContainer instanceof MutablePicoContainer)
--%<----------
It makes no sense for me to unregister component by instance, when
you have just build new container. It's clear that this instance is not there.
So mutableContainer.unregisterComponentByInstance(container) is just obsolete and is alrteady done in killContainer();
Activity
Aslak Hellesøy
made changes -
Field | Original Value | New Value |
---|---|---|
Assignee | Konstantin Pribluda [ ko5tik ] |
Konstantin Pribluda
made changes -
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Fix Version/s | 1.0-RC-1 [ 10461 ] |
commited