-
Couldn't load subscription status.
- Fork 38.8k
Closed
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: bugA general bugA general bug
Milestone
Description
Phil Webb opened SPR-9994 and commented
The ReflectivePropertyAccessor findGetterForProperty and findSetterForProperty methods searches all methods for a name based match. If the class being searched implements an interface with generic types it possible that bridge methods will be incorrectly discovered.
As the order of Class.getMethods() is undetermined and JVM specific this issue is not consistently reproducible. See SWF-1438 for an example that fails on Windows but not Linux.
Affects: 3.1.3
Sub-tasks:
- Backport "ReflectivePropertyAccessor should not consider bridge methods" [SPR-9995] #14629 Backport "ReflectivePropertyAccessor should not consider bridge methods"
Issue Links:
- Consider bridge methods in SpEL properties [SPR-10162] #14795 Consider bridge methods in SpEL properties
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: bugA general bugA general bug