[cdi-dev] [JBoss JIRA] (CDI-538) Fix parameterized types discrepancies

Antoine Sabot-Durand (JIRA) issues at jboss.org
Wed Jun 24 10:57:01 EDT 2015


Antoine Sabot-Durand created CDI-538:
----------------------------------------

             Summary: Fix parameterized types discrepancies
                 Key: CDI-538
                 URL: https://issues.jboss.org/browse/CDI-538
             Project: CDI Specification Issues
          Issue Type: Bug
          Components: Portable Extensions
    Affects Versions: 1.2.Final
            Reporter: Antoine Sabot-Durand


In the SPI, the spec states the following:

{quote}
* 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>}}.
{quote}

But the Javadoc and impl behavior is

{quote}
* 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>}}.
{quote}





--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the cdi-dev mailing list