-
Notifications
You must be signed in to change notification settings - 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
David Boden opened SPR-10122 and commented
#13761 changed SPEL so that it was in line with the JavaBean specification for attributes with lowercase first letters and uppercase second letters like:
iD
pNDV
Changes were made to: org.springframework.expression.spel.support.ReflectivePropertyAccessor
This method was updated under change #13761, so that it checks the 2nd character in the name as a special case (line 312):
protected Method findGetterForProperty(String propertyName, Class<?> clazz, boolean mustBeStatic)The corresponding method for setters was not updated (line 344):
protected Method findSetterForProperty(String propertyName, Class<?> clazz, boolean mustBeStatic)Affects: 3.2 GA
Issue Links:
- [SpEL] Problem with uppercase property names [SPR-9123] #13761 [SpEL] Problem with uppercase property names
Referenced from: commits 0ed9cb2, d91a419
1 votes, 4 watchers
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