AOT generates a raw type for a generic type with nested unresolved generics #33069
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
theme: aot
An issue related to Ahead-of-time processing
type: regression
A bug that is also a regression
Milestone
Initially reported by @odrotbohm on Spring Restbucks.
There is a check in code generator for
ResolvableType
:spring-framework/spring-core/src/main/java/org/springframework/aot/generate/ValueCodeGeneratorDelegates.java
Line 334 in ce49354
There have been several refinements in the core container and its type detection algorithm. I suspect that it's smarter at finding out about such unresolved generics in nested types. It unfortunately means we're taking the wrong decision now, writing the raw type instead of the type with it's top-level generic signature.
The text was updated successfully, but these errors were encountered: