Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: 1.0
-
Fix Version/s: 1.1
-
Component/s: PicoContainer (Java)
-
Labels:None
-
Number of attachments :
Description
After introducing allowNonPublicClasses feature, a problem occurs whenever a class has a non-public satisfiable constructor accepting more parameters than the greediest public constructor and the CICA is running in normal (allowNonPublicClasses==false) mode. The non-public constructor is selected and IllegalAccessException occurs.
I've created a patch that ensures that only public constructors are considered as matching in allowNonPublicClasses==false mode.
Attachments
Issue Links
| This issue duplicates: | ||||
| PICO-201 | PicoContainer finds the greediest constructor, even if it is protected or private |
|
|
|
a patch that fixes the problem.