cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amichai Rothman (JIRA)" <>
Subject [jira] [Updated] (DOSGI-175) TopologyManagerImport's reference counter doesn't count
Date Mon, 22 Apr 2013 08:31:16 GMT


Amichai Rothman updated DOSGI-175:

    Attachment: fix_ref_count.diff
> TopologyManagerImport's reference counter doesn't count
> -------------------------------------------------------
>                 Key: DOSGI-175
>                 URL:
>             Project: CXF Distributed OSGi
>          Issue Type: Bug
>    Affects Versions: 1.5
>            Reporter: Amichai Rothman
>         Attachments: fix_ref_count.diff
> 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:

View raw message