Amichai Rothman created DOSGI-175:
-------------------------------------

             Summary: TopologyManagerImport's reference counter doesn't count
                 Key: DOSGI-175
                 URL: https://issues.apache.org/jira/browse/DOSGI-175
             Project: CXF Distributed OSGi
          Issue Type: Bug
    Affects Versions: 1.5
            Reporter: Amichai Rothman


the RefManager class used by TopologyManagerImport is supposed to manage 
reference counts for the various filters its clients are interested in, however 
the current implementation doesn't count - it just stays at zero after every 
add, and consequently is marked as released at every release. This causes 
mismanagement of the references by the TMI.

In addition, while debugging I've seen removeServiceInterest called with 
filters that have no reference count (even after the fix for the above issue), 
which would cause it to throw an exception. The fix handles this by returning 
-1 as the reference count, and the TMI simply ignores this.


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