Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.1
-
Component/s: PicoContainer (Java)
-
Labels:None
-
Number of attachments :
Description
A component depending upon an array whose component type is assignable from the dependent component's results in a cyclic dependency exception. Rather than bailing, I'd like to see the array contain all matching components except for the dependent component being constructed.
If this is acceptable behavior, attached is a patch and testcase that addresses the issue.
Issue Links
- is superceded by
-
PICO-216 Refactor ComponentParameter and GenericCollectionComponentAdapter
-
Well, you might also take it as feature and precaution against the Object[] fraud ...