Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-1966

@Inject spoon processor fails to handle special injection interfaces without @Role annotations

    Details

    • Tests:
      Integration
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      We need to handle:

          private static final List<String> SPECIAL_INJECT_INTERFACES = Arrays.asList(
              "org.slf4j.Logger",
              "java.util.List",
              "java.util.Map",
              "javax.inject.Provider",
              "org.xwiki.component.descriptor.ComponentDescriptor"
          );
      

      which are interfaces but they don't define a @Role annotation as they're handled specially by the ECM.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vmassol Vincent Massol
                Reporter:
                vmassol Vincent Massol
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: