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-2906) SCR plugin error with @Property(..., intValue=Integer.MAX_VALUE)
Date Thu, 07 Apr 2011 09:16:05 GMT

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

Carsten Ziegeler commented on FELIX-2906:
-----------------------------------------

We need to add special handling for these values like we did for a single int value (cardinality
e.g. works)

> SCR plugin error with @Property(..., intValue=Integer.MAX_VALUE)
> ----------------------------------------------------------------
>
>                 Key: FELIX-2906
>                 URL: https://issues.apache.org/jira/browse/FELIX-2906
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven SCR Plugin
>    Affects Versions: maven-scr-plugin-1.7.0
>            Reporter: Bertrand Delacretaz
>            Assignee: Carsten Ziegeler
>            Priority: Minor
>
> This annotation
> @Property(name=Constants.SERVICE_RANKING, intValue=Integer.MAX_VALUE)
> causes the plugin to fail:
> Caused by: org.apache.felix.scrplugin.SCRDescriptorException: Unable to load class
> 	at org.apache.felix.scrplugin.JavaClassDescriptorManager.getJavaClassDescription(JavaClassDescriptorManager.java:429)
> 	at org.apache.felix.scrplugin.tags.qdox.QDoxJavaClassDescription.getExternalFieldByName(QDoxJavaClassDescription.java:173)
> 	at org.apache.felix.scrplugin.tags.annotation.Util$1.visitAnnotationFieldRef(Util.java:412)
> The workaround is to import java.lang.Integer
> This is similar to FELIX-1129 but I don't seem to be allowed to reopen that issue.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message