Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-3606

SCR Plugin: build failure on wildcard imports (e.g. java.util.*)

    XMLWordPrintableJSON

    Details

      Description

      When running the SCR plugin on a class that imports using a wildcard import, classes imported using the wildcard are not found and instead looked up in the java.lang package. This might be related to FELIX-2906

      Exception details:

      Caused by: org.apache.felix.scrplugin.SCRDescriptorException: Unable to load class
      at org.apache.felix.scrplugin.JavaClassDescriptorManager.getJavaClassDescription(JavaClassDescriptorManager.java:444)
      at org.apache.felix.scrplugin.tags.qdox.QDoxJavaClassDescription.getExternalFieldByName(QDoxJavaClassDescription.java:174)
      at org.apache.felix.scrplugin.tags.annotation.Util$1.visitAnnotationFieldRef(Util.java:412)
      ... 35 more

        Attachments

          Activity

            People

            • Assignee:
              cziegeler Carsten Ziegeler
              Reporter:
              wastl Sebastian Schaffert
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: