felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Offermans (JIRA)" <j...@apache.org>
Subject [jira] Created: (FELIX-53) Calling remove(dependency) on a service managed by the dependency manager fails under specific circumstances
Date Wed, 05 Apr 2006 13:27:51 GMT
Calling remove(dependency) on a service managed by the dependency manager fails under specific
circumstances
------------------------------------------------------------------------------------------------------------

         Key: FELIX-53
         URL: http://issues.apache.org/jira/browse/FELIX-53
     Project: Felix
        Type: Bug

    Reporter: Marcel Offermans
 Assigned to: Marcel Offermans 
    Priority: Minor


In ServiceImpl:

>>         else if ( getState() == ServiceMonitor.WAITING_FOR_REQUIRED )
>>         {
>>             // if we're waiting for required dependencies, then
>>             // we only need to stop tracking the dependency if it
>>             // too is required; this might trigger a state change

But! Contrary to my comments in the code I actually do not check if the  dependency is required,
so that is an issue, because if it is an optional dependency and we're still waiting for the
required dependencies, then this optional dependency will not have been started yet. That
means we should not stop it.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message