Skip to content

SpEL ReflectivePropertyAccessor: ConversionService missing annotations on concrete implementations #23210

@laoseth

Description

@laoseth

The fix for #22242 is causing this.

Baiscally, the ReflectivePropertyAccessor is now looking for an interface for a method if it exists, and returning the interface method instead of the concrete one. In doing this, if the implementer has an annotation(in my case DateTimeFormat) it gets ignored, as the TypedValue returned is now based solely on the interface.

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: regressionA bug that is also a regression

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions