Closed
Description
Oliver Drotbohm opened SPR-10993 and commented
If an ApplicationContext
contains BeanDefinition
instances for a type MyComponent<T>
and you try to wire it to an injection point that explictly refers to a type parameter (e.g. MyComponent<String>
) you currently get a NoSuchBeanDefinitionException
.
Affects: 4.0 RC1
Issue Links:
- Autowiring of types narrows with generics does not work [SPR-11004] #15632 Autowiring of types narrows with generics does not work
- Autowiring of generic types [SPR-9965] #14599 Autowiring of generic types
Referenced from: commits 0851766