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

Pierre De Rop resolved FELIX-5236.
----------------------------------
       Resolution: Fixed
    Fix Version/s: org.apache.felix.dependencymanager-r9

Committed a fix in rv 1739519. I think this issue is resolved.

> Single @Property annotation on a type doesn't work
> --------------------------------------------------
>
>                 Key: FELIX-5236
>                 URL: https://issues.apache.org/jira/browse/FELIX-5236
>             Project: Felix
>          Issue Type: Bug
>          Components: Dependency Manager Annotations
>    Affects Versions: org.apache.felix.dependencymanager-r8
>            Reporter: Bram Pouwelse
>            Assignee: Pierre De Rop
>             Fix For: org.apache.felix.dependencymanager-r9
>
>
> FELIX-5180 introduced the option to add @Property annotations on a type, this 
> doesn't work in case there is only a single property. 
>  The {{AnnotationCollector}} gets the @Property annotations by reading the 
> value of the @RepatableProperty annotation. This @RepeatableProperty is only 
> available when there is more than one @Property annotation. 
> {quote}
>  If more than one annotation of the requested type is present, you can obtain 
> them by first getting their container annotation. 
> {quote}
> https://docs.oracle.com/javase/tutorial/java/annotations/repeating.html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to