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

Karl Pauls resolved FELIX-5799.
-------------------------------
    Resolution: Fixed

I fixed the problem in r1827055. 

Basically, we only did catch Exception on callbacks to ungetService which could 
cause problems if it did throw an Error (or a Throwable I guess). 

Furthermore, we had a glitch in our handling of usage counts for protoype 
scoped factories. The count needs to be based on the services returned from the 
factory - i.e., if the factory returns the same service instance multiple 
times, we do need to use the same usage count object and only call back to the 
factory when the given object has been returned the same amount of times.

> Fix bugs in Service Factory unregister callback handling
> --------------------------------------------------------
>
>                 Key: FELIX-5799
>                 URL: https://issues.apache.org/jira/browse/FELIX-5799
>             Project: Felix
>          Issue Type: Bug
>    Affects Versions: framework-5.6.10
>            Reporter: Karl Pauls
>            Assignee: Karl Pauls
>            Priority: Major
>             Fix For: framework-6.0.0
>
>
> The R7 spec adds new service scopes that need to be implemented.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to