]
Pete Muir updated CDI-210:
--------------------------
Issue Type: Bug (was: Feature Request)
Priority: Minor (was: Major)
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
Priority: Minor
Fix For: 1.1 (Proposed)
{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: