You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "David Jencks (JIRA)" <ji...@apache.org> on 2013/05/07 07:05:15 UTC

[jira] [Resolved] (FELIX-4020) [DS] A reference being unregistered between checking for references available and actual binding may get bound anyway

     [ https://issues.apache.org/jira/browse/FELIX-4020?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Jencks resolved FELIX-4020.
---------------------------------

    Resolution: Fixed

Fixed in revs 1470393-1470397
                
> [DS] A reference being unregistered between checking for references available and actual binding may get bound anyway
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-4020
>                 URL: https://issues.apache.org/jira/browse/FELIX-4020
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR)
>    Affects Versions: scr-1.8.0
>            Reporter: David Jencks
>            Assignee: David Jencks
>             Fix For: scr-1.8.0
>
>
> I think the order of events is:
> t1: collect dependencies to make sure component can be activated
> t2. unregister required service in a single static reference
> t1. create object binding the removed service object.
> I don't know if this happens with other reference cardinalities/policies.

--
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