Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-7949

CDI is not validating @Inject Instance<[type]> correctly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 3.2.0.CR1
    • None
    • cdi
    • None

    Description

      @Inject
      private Instance<Project> project;

      is marked with:
      Multiple beans are eligible for injection to the injection point AbstractShellTest.java /forge-test-harness/src/main/java/org/jboss/seam/forge/test line 84 CDI Problem

      Instance<...> means there can be 0 to N matches thus shouldn't be marked as a validation error.

      Attachments

        Activity

          People

            alexeykazakov Alexey Kazakov
            manderse@redhat.com Max Andersen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: