Current behavior does not conform to the spec (namely 4.3.1. Direct and indirect specialization) as the class BeanC DOES NOT INHERIT the BeanA's NAME, only BeanB does. Therefore BeanC is not included in the set of beans returned by beanManager.getBeans("beanA").
We did not reproduce the problem because the tests used
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
Current behavior does not conform to the spec (namely 4.3.1. Direct and indirect specialization) as the class BeanC DOES NOT INHERIT the BeanA's NAME, only BeanB does. Therefore BeanC is not included in the set of beans returned by beanManager.getBeans("beanA").
We did not reproduce the problem because the tests used
instead of
Set<Bean<?>> javax.enterprise.inject.spi.BeanManager.getBeans(String name);
.
A simple workaround is to annotate the BeanC class with @Named("beanA").
So it has nothing to do with WELD-1561.