[ https://issues.apache.org/jira/browse/FELIX-1295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12726851#action_12726851 ]
David Bosschaert commented on FELIX-1295: ----------------------------------------- The patch I just attached to FELIX-1277 contains a fix for this bug. > ServiceRegistry decrements service use before ungetService() is called on > ServiceFactory > ---------------------------------------------------------------------------------------- > > Key: FELIX-1295 > URL: https://issues.apache.org/jira/browse/FELIX-1295 > Project: Felix > Issue Type: Bug > Components: Framework > Affects Versions: felix-1.8.1 > Reporter: David Bosschaert > > The OSGi specification says about the call to ServiceFactory.ungetService(): > "The bundle's usage count for that service object must drop to zero > after this call returns; that is, the bundle is about to release its last > dependency on the service object." > However the current implementation decrements it just before ungetService() > is called. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.