You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Christoph Läubrich (JIRA)" <ji...@apache.org> on 2013/11/24 14:03:35 UTC

[jira] [Created] (FELIX-4329) SCR shoudl check if constructor is public

Christoph Läubrich created FELIX-4329:
-----------------------------------------

             Summary: SCR shoudl check if constructor is public
                 Key: FELIX-4329
                 URL: https://issues.apache.org/jira/browse/FELIX-4329
             Project: Felix
          Issue Type: Improvement
            Reporter: Christoph Läubrich
            Priority: Minor


!MESSAGE [...(22)] Error during instantiation of the implementation object
!STACK 0
java.lang.IllegalAccessException: Class org.apache.felix.scr.impl.manager.ImmediateComponentManager can not access a member of class ... with modifiers "private"

The problem here was, that the default constructor was private. SCR should check if construcor is accesble nad the print out a more meaningfullmessage instead of the default Java reflection one.



--
This message was sent by Atlassian JIRA
(v6.1#6144)