celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bjoern Petri (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CELIX-151) Sync issue with Topology Manager during shutdown
Date Wed, 10 Sep 2014 07:20:32 GMT

    [ https://issues.apache.org/jira/browse/CELIX-151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14128173#comment-14128173

Bjoern Petri commented on CELIX-151:

I already committed some code which replaces the Iterator with a loop counter, but it still
needs to be clarified whether the Iterator behaves as expected. Currently it is not possible
to remove an element from a hashMap while iterating over it.

> Sync issue with Topology Manager during shutdown
> ------------------------------------------------
>                 Key: CELIX-151
>                 URL: https://issues.apache.org/jira/browse/CELIX-151
>             Project: Celix
>          Issue Type: Bug
>          Components: Framework
>            Reporter: Bjoern Petri
>            Assignee: Bjoern Petri
> During the shutdown, the topology manager can close rexport Registrations which leads
to an uninstallation of the according endpoint/proxy bundle and therefore the removal from
the bundle_pt structure in the installedBundleMap.
> This wil mess up the hashMapIterator in framework_shutdown and lead to an endless loop.

This message was sent by Atlassian JIRA

View raw message