Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Won't Fix
-
Affects Version/s: 2.2
-
Fix Version/s: 2.3
-
Component/s: PicoContainer (Java)
-
Labels:None
-
Testcase included:yes
-
Number of attachments :
Description
public void testLifecycleWhenSelfRegistered()
{ DefaultPicoContainer parent = new DefaultPicoContainer(); parent.registerComponentInstance(parent); parent.start(); // fails on latest parent.stop(); parent.dispose(); }
solution
private class OrderedComponentAdapterLifecycleManager
...
public void start(PicoContainer node) {
...
if (manager.hasLifecycle())
Activity
Michael Rimov
made changes -
Field | Original Value | New Value |
---|---|---|
Affects Version/s | 1.3 [ 11331 ] | |
Affects Version/s | 1.2 [ 11330 ] | |
Fix Version/s | 1.3 [ 11331 ] | |
Priority | Blocker [ 1 ] | Major [ 3 ] |
Affects Version/s | 1.1 [ 10307 ] | |
Affects Version/s | 2.2 [ 14251 ] | |
Fix Version/s | 2.3 [ 14303 ] |
Paul Hammant
made changes -
Assignee | Paul Hammant [ paul ] | |
Resolution | Won't Fix [ 2 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Technically you're right, but we do not consider this scenario as valid. Please use the user's list to describe your use case.