Bean with unresolved generics do not use fallback algorithms with AOT #29454
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
theme: aot
An issue related to Ahead-of-time processing
type: bug
A general bug
Milestone
See spring-attic/spring-native#1097
If a bean has an unresolved generic, AOT generates
Object
, rather than conveying the unresolved generic. As a result, trying to inject the bean with a resolved generic does not work. This typically affects template-based beans where any type is supported, but AOT locks down things onObject
.The text was updated successfully, but these errors were encountered: