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

Fix parameterized types discrepancies

XMLWordPrintable

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

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

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

              Created:
              Updated:
              Resolved: