[
https://issues.apache.org/jira/browse/FELIX-5346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15529472#comment-15529472
]
Pierre De Rop commented on FELIX-5346:
--------------------------------------
Indeed, whilst at the beginning I was planning to allow to override the same
annotation (@Start in the above example), it turns out that internally it is
hard to support such feature ...
so, if you are satisfied with the current state, can we turn this issue to
resolved (and the patch does not allow to override the same annotation) ?
thanks for having made the test;
/pierre
> Start annotation not propagated to sub classes
> ----------------------------------------------
>
> Key: FELIX-5346
> URL: https://issues.apache.org/jira/browse/FELIX-5346
> Project: Felix
> Issue Type: Improvement
> Components: Dependency Manager Annotations
> Affects Versions: org.apache.felix.dependencymanager-r1
> Reporter: Jago de Vreede
> Assignee: Pierre De Rop
> Fix For: org.apache.felix.dependencymanager-r9
>
>
> Following case in pseudocode:
> {code}Class A {
> @Start
> public void start() {
> System.out.println("start");
> }
> }
> @Component
> Class B extends A {
> }{code}
> When you run this nothing is printed but the start method in A should be
> called as B extends A.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)