You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2008/07/25 09:29:31 UTC
[jira] Created: (FELIX-643) Inheritance of references is not
working if there is more than one bundle involved in the hierarchy
Inheritance of references is not working if there is more than one bundle involved in the hierarchy
---------------------------------------------------------------------------------------------------
Key: FELIX-643
URL: https://issues.apache.org/jira/browse/FELIX-643
Project: Felix
Issue Type: Bug
Components: Maven SCR Plugin
Affects Versions: maven-scr-plugin-1.0.6
Reporter: Carsten Ziegeler
Assignee: Carsten Ziegeler
Fix For: maven-scr-plugin-1.0.7
Example:
Bundle A contains abstract class A1 with reference to to service S
Bundle B contains abstract class B1 extending A1
Bundle C contains class C1 extending B1
In this case you get a duplicate definition error for reference to service S, as C is transitivly inheriting the reference to service S twice: from bundle B and from Bundle A.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (FELIX-643) Inheritance of references is not working
if there is more than one bundle involved in the hierarchy
Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-643?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler closed FELIX-643.
----------------------------------
Resolution: Fixed
The class hierarchy was traversed twice for references. Fixed in revision 679714.
> Inheritance of references is not working if there is more than one bundle involved in the hierarchy
> ---------------------------------------------------------------------------------------------------
>
> Key: FELIX-643
> URL: https://issues.apache.org/jira/browse/FELIX-643
> Project: Felix
> Issue Type: Bug
> Components: Maven SCR Plugin
> Affects Versions: maven-scr-plugin-1.0.6
> Reporter: Carsten Ziegeler
> Assignee: Carsten Ziegeler
> Fix For: maven-scr-plugin-1.0.7
>
>
> Example:
> Bundle A contains abstract class A1 with reference to to service S
> Bundle B contains abstract class B1 extending A1
> Bundle C contains class C1 extending B1
> In this case you get a duplicate definition error for reference to service S, as C is transitivly inheriting the reference to service S twice: from bundle B and from Bundle A.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.