-
Couldn't load subscription status.
- Fork 38.8k
Closed
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)status: declinedA suggestion or change that we don't feel we should currently applyA suggestion or change that we don't feel we should currently apply
Description
Jose Luis Martin opened SPR-11414 and commented
Hi all,
When upgrading to Spring 4.0.0 I noticed failures when autowiring raw types.
I think that should be expected that if some Service<?> service become autowired then a raw type declaration (Service service) should become autowired too.
I guess that it could be fixed checking for raw types in ResolvableType.getGenerics() and returning wildcards for all parameter types.
A proposal fix is in https://github.com/chelu/spring-framework/tree/resolvable-raw-types
Best regards,
Jose
Affects: 4.0 GA
Issue Links:
- Problem with autowiring of "generic Beans" (defined via RootBeanDefinition(s)) [SPR-11250] #15875 Problem with autowiring of "generic Beans" (defined via RootBeanDefinition(s))
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)status: declinedA suggestion or change that we don't feel we should currently applyA suggestion or change that we don't feel we should currently apply