Felix Meschberger created FELIX-3646:
----------------------------------------

             Summary: AbstractComponent.disposeInternal ignores reason
                 Key: FELIX-3646
                 URL: https://issues.apache.org/jira/browse/FELIX-3646
             Project: Felix
          Issue Type: Bug
          Components: Declarative Services (SCR), Specification compliance
    Affects Versions: scr-1.8.0
            Reporter: Felix Meschberger
            Assignee: Felix Meschberger
             Fix For: scr-1.8.0


Probably due to some refactoring work for concurrency issues, the 
AbstractComponentManager.disposeInternal currently ignores the passed reason 
thereby causing the component to be destroyed with the wrong reason 
(unconditionally DEACTIVATION_REASON_DISPOSED; see Satisfied.dispose).

This should be modifed such that the State.dispose method also takes the 
disposal/deactivation reason to be passed to the deactivate method (similar to 
the State.deactivate method)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to