You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Pierre De Rop (JIRA)" <ji...@apache.org> on 2014/08/04 11:32:13 UTC

[jira] [Resolved] (FELIX-4588) createCopy method ConfigurationDependency produces a malfunctioning clone

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

Pierre De Rop resolved FELIX-4588.
----------------------------------

    Resolution: Fixed

issue resolved (fee free to reopen if necessary).

> createCopy method ConfigurationDependency produces a malfunctioning clone
> -------------------------------------------------------------------------
>
>                 Key: FELIX-4588
>                 URL: https://issues.apache.org/jira/browse/FELIX-4588
>             Project: Felix
>          Issue Type: Bug
>          Components: Dependency Manager
>    Affects Versions: dependencymanager.runtime-3.2.0
>            Reporter: Tuomas Kiviaho
>            Assignee: Pierre De Rop
>             Fix For: dependencymanager-4.0.0
>
>
> createCopy copies m_metaType as well which is understandable because the existence of this particular instance keeps track of appended metatype information. Problem arises when metaType is present and createCopy is used, because MetaTypeProviderImpl carries a reference to the original ConfigurationDependency. updated invocations wind up to the original implementation instead of clone



--
This message was sent by Atlassian JIRA
(v6.2#6252)