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

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


     [ https://issues.jboss.org/browse/CDI-538?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antoine Sabot-Durand updated CDI-538:
-------------------------------------
    Reporter: Antonin Stefanutti  (was: Antoine Sabot-Durand)


> 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: Antonin Stefanutti
>             Fix For: 2.0-EDR1
>
>
> 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