Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Won't Fix
-
Affects Version/s: None
-
Fix Version/s: 1.2
-
Component/s: PicoContainer (Java)
-
Labels:None
-
Testcase included:yes
-
Number of attachments :
Description
The following will fail because the immutable proxy won't handle equals();
DefaultPicoContainer pico = new DefaultPicoContainer();
DefaultPicoContainer pico2 = pico.makeChildContainer();
assertEquals(pico, pico2.getParent() );
Activity

Field | Original Value | New Value |
---|---|---|
Resolution | Won't Fix [ 2 ] | |
Assignee | Joerg Schaible [ joehni ] | |
Fix Version/s | 1.2 [ 11330 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
This is a false assuption. A PicoContainer has no meaning of equality. This also fails: