You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Marc Bridner (JIRA)" <ji...@apache.org> on 2013/10/14 17:53:46 UTC

[jira] [Commented] (FELIX-4170) Deprecate inheritance of component descriptors

    [ https://issues.apache.org/jira/browse/FELIX-4170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13794227#comment-13794227 ] 

Marc Bridner commented on FELIX-4170:
-------------------------------------

I'd like to log a request for you to consider keeping it, but leaving it deprecated. It has its uses, even with the above mentioned issues.

> Deprecate inheritance of component descriptors
> ----------------------------------------------
>
>                 Key: FELIX-4170
>                 URL: https://issues.apache.org/jira/browse/FELIX-4170
>             Project: Felix
>          Issue Type: Task
>          Components: Maven SCR Plugin
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: maven-scr-plugin 1.14.0, scr ant task 1.8.0, scr generator 1.8.0, scr annotations 1.9.6
>
>
> The inheritance feature of the annotations is problematic as this only works reliable if the super class used at build time is the same as at run time. However at the point of descriptor generation this can't be ensured and therefore might lead to subtle problems.
> In addition, the DS spec decided against inheritance for the same reasons.
> Therefore it is advisable to remove this feature in the long run. As a first step we should log a warning if inheritance is used



--
This message was sent by Atlassian JIRA
(v6.1#6144)