Skip to content

GenericTypeResolver.resolveTypeArguments(…) returns Object for raw types [SPR-11052] #15679

@spring-projects-issues

Description

@spring-projects-issues

Oliver Drotbohm opened SPR-11052 and commented

If you call GenericTypeResolver.resolveTypeArguments(Map.class, Map.class) on a Spring 3.x you get null returned as the first Map parameter is a raw type effectively. With Spring 4 snapshots we get back [Object.class, Object.class] which effectively disables the detection of a raw type against a type explicitly typed to Object.


Affects: 4.0 RC1

Issue Links:

Referenced from: commits 9f3b8a2, 3bfddc5

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