Misleading error message when evaluating T operator [SPR-16762] #21303
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
status: backported
An issue that has been backported to maintenance branches
type: bug
A general bug
Milestone
Gary Russell opened SPR-16762 and commented
MethodReference.findAccessorForMethod()
- when thetargetObject
is a class, the exception message saysinstead of referencing the actual type being evaluated.
If
targetObject
is already a class, use that instead ofgetClass()
.Affects: 4.3.16, 5.0.5
Reference URL: https://stackoverflow.com/questions/49998401/spring-el-invoking-static-interface-method
Backported to: 4.3.17
The text was updated successfully, but these errors were encountered: