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

Fix parameterized types discrepancies

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 2.0-EDR1
    • 1.2.Final
    • Portable Extensions
    • None

    Description

      In the SPI, the spec states the following:

      • For a producer method with method return type X of a bean with bean class T, the container must raise an event of type ProcessProducerMethod<T, X>.
      • For a producer field with field type X of a bean with bean class T, the container must raise an event of type ProcessProducerField<T, X>.

      But the Javadoc and impl behavior is

      • For a producer method with method return type T of a bean with bean class X, the container must raise an event of type ProcessProducerMethod<T, X>.
      • For a producer field with field type T of a bean with bean class X, the container must raise an event of type ProcessProducerField<T, X>.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              astefanu@redhat.com Antonin Stefanutti
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: