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

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: