Skip to content

Generic autowiring should support wiring of components with unresolved type variables [SPR-10993] #15621

Closed
@spring-projects-issues

Description

@spring-projects-issues

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:

Referenced from: commits 0851766

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions