]
Pete Muir updated CDI-210:
--------------------------
Fix Version/s: 1.1.EDR2
(was: 1.1 (Proposed))
Assignee: Pete Muir
Agreed. Pull request at
BeanManager.createBean() should use type variables instead of
wildcards
-----------------------------------------------------------------------
Key: CDI-210
URL:
https://issues.jboss.org/browse/CDI-210
Project: CDI Specification Issues
Issue Type: Bug
Components: Portable Extensions
Affects Versions: 1.1.EDR1
Reporter: Jozef Hartinger
Assignee: Pete Muir
Priority: Minor
Fix For: 1.1.EDR2
{code}
public Bean<?> createBean(BeanAttributes<?> attributes, Class<?>
beanClass, InjectionTarget<?> injectionTarget)
public Bean<?> createBean(BeanAttributes<?> attributes, Class<?>
beanClass, Producer<?> producer)
{code}
I propose:
{code}
public <T> Bean<T> createBean(BeanAttributes<T> attributes,
Class<T> beanClass, InjectionTarget<T> injectionTarget)
public <T> Bean<T> createBean(BeanAttributes<T> attributes,
Class<?> beanClass, Producer<T> producer);
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: