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.
Issue Links
- duplicates
-
PICO-201 PicoContainer finds the greediest constructor, even if it is protected or private
Activity
Rafal Krzewski
made changes -
Field | Original Value | New Value |
---|---|---|
Attachment | PICO-205.diff [ 12843 ] |
Jörg Schaible
made changes -
Jörg Schaible
made changes -
Resolution | Duplicate [ 3 ] | |
Fix Version/s | 1.1 [ 10307 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
a patch that fixes the problem.