]
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}