felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FELIX-4170) Deprecate inheritance of component descriptors
Date Mon, 19 Jan 2015 17:32:34 GMT

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

Carsten Ziegeler commented on FELIX-4170:

[~kwin] We don't know where the class is ending up; we can only guess that if the abstract
class is in the same project that it ends up in the same bundle, but that's only a guess.

> Deprecate inheritance of component descriptors
> ----------------------------------------------
>                 Key: FELIX-4170
>                 URL: https://issues.apache.org/jira/browse/FELIX-4170
>             Project: Felix
>          Issue Type: Task
>          Components: SCR Tooling
>            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

View raw message