Uploaded image for project: 'CDI Specification Issues'
  1. CDI Specification Issues
  2. CDI-236

Injection point of type Instance/Event must have a type parameter

XMLWordPrintable

    • Icon: Clarification Clarification
    • Resolution: Done
    • Icon: Minor Minor
    • 1.1.PRD
    • 1.0
    • Events, Resolution
    • None

      IMHO this is not implied. One could think @Inject Instance instance is equivalent to @Inject Instance<Object> instance.

      Note that RI (Weld) does not allow this at the moment and treats @Inject Instance instance or @Inject Event event as a definition error.

      In any case the spec should clarify this so that we could write valid TCK tests for this.

            pmuiratbleepbleep Pete Muir (Inactive)
            mkouba@redhat.com Martin Kouba
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: