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

Fix parameterized types discrepancies

    XMLWordPrintable

    Details

      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>.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  stefanutti Antonin Stefanutti
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: