felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pierre De Rop (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (FELIX-4588) createCopy method ConfigurationDependency produces a malfunctioning clone
Date Thu, 19 Mar 2015 06:00:46 GMT

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

Pierre De Rop closed FELIX-4588.

> 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: org.apache.felix.dependencymanager-r1
> 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

View raw message