Potential ClassCastException when a service property does not receive a value 
and is used in the constructor
------------------------------------------------------------------------------------------------------------

                 Key: FELIX-2014
                 URL: https://issues.apache.org/jira/browse/FELIX-2014
             Project: Felix
          Issue Type: Bug
          Components: iPOJO
    Affects Versions: iPOJO-1.4.0
            Reporter: Clement Escoffier
            Assignee: Clement Escoffier
             Fix For: iPOJO-1.6.0


If a component instance providing a service receive a configuration that does 
not assign a service property's field, when the pojo tried to do a 'if (prop == 
null)', a class cast exception happen. It comes from the injection of the 
NO_VALUE object instead of null. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to