[
https://issues.jboss.org/browse/CDI-376?page=com.atlassian.jira.plugin.sy...
]
Antoine Sabot-Durand updated CDI-376:
-------------------------------------
Description:
return type differs between API and spec wording for both BeanManager#getProducerFactory
methods.
In API we have
{{public <X> ProducerFactory<X> getProducerFactory(AnnotatedMethod<? super
X> method, Bean<X> declaringBean);}}
While in spec (section 11.3.22 )we have
{{public <X> ProducerFactory<? super X>
getProducerFactory(AnnotatedMethod<? super X> method, Bean<X>
declaringBean);}}
They differ in the return type:
{{ProducerFactory<X>}} vs {{ProducerFactory<? super X>}}
was:
return type differs between API and spec wording for both BeanManager#getProducerFactory
methods.
1st is API git, 2nd is spec version:
public <X> ProducerFactory<X> getProducerFactory(AnnotatedMethod<? super
X> method, Bean<X> declaringBean);
public <X> ProducerFactory<? super X> getProducerFactory(AnnotatedMethod<?
super X> method, Bean<X> declaringBean);
They differ in the return type:
ProducerFactory<X> vs
ProducerFactory<? super X>
BeanManager#getProducerFactory return type differs between API and
spec
-----------------------------------------------------------------------
Key: CDI-376
URL:
https://issues.jboss.org/browse/CDI-376
Project: CDI Specification Issues
Issue Type: Bug
Components: Javadoc and API
Affects Versions: 1.1.PFD
Reporter: Mark Struberg
Priority: Critical
Labels: CDI_api_chge, CDI_spec_chge
Fix For: 1.2 Proposed
return type differs between API and spec wording for both BeanManager#getProducerFactory
methods.
In API we have
{{public <X> ProducerFactory<X> getProducerFactory(AnnotatedMethod<? super
X> method, Bean<X> declaringBean);}}
While in spec (section 11.3.22 )we have
{{public <X> ProducerFactory<? super X>
getProducerFactory(AnnotatedMethod<? super X> method, Bean<X>
declaringBean);}}
They differ in the return type:
{{ProducerFactory<X>}} vs {{ProducerFactory<? super X>}}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira