Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
org.apache.felix.dependencymanager-r8
-
None
Description
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.
If more than one annotation of the requested type is present, you can obtain them by first getting their container annotation.
https://docs.oracle.com/javase/tutorial/java/annotations/repeating.html