Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
maven-scr-plugin-1.7.0, scr ant task 1.1.0, scr generator 1.1.0
-
None
Description
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.