Skip to content

AopProxyUtils.ultimateTargetClass returns null if candidate parameter is not a TargetClassAware [SPR-7447] #12105

@spring-projects-issues

Description

@spring-projects-issues

Damien Bourdette opened SPR-7447 and commented

The javadoc states for return value : the target class (or the plain class of the given object as fallback; never <code>null</code>)

If candidates is not a instance of TargetClassAware, result is null.


Affects: 3.0.3

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