Skip to content

Potential NPE on result of GenericTypeResolver.resolveTypeArguments [SPR-11030] #15658

@spring-projects-issues

Description

@spring-projects-issues

Artem Bilan opened SPR-11030 and commented

Spring Data TypeDiscoverer invokes:

GenericTypeResolver.resolveTypeArguments(List.class, Iterable.class)

and gets the result Class<?>[] with one null element.
Previously GenericTypeResolver returned:

[class java.lang.Object]

an array with one not null element.

Looks like latests changes to Generic Type resolution breaks something.


Affects: 4.0 RC1

Issue Links:

Referenced from: commits 1a3ba79

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