-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Closed
Description
Dave Syer opened SPR-6525 and commented
SpEL context is wrong in method parameter resolution. Instead of using the current context for the stack (which refers to the method target), parameters should have a current context equal to the context root. This test would fail in EvaluationTests():
@Test
public void testNestedMethod() {
evaluate("placeOfBirth.doubleIt(inventions.length)", 18, Integer.class);
}
Affects: 3.0 RC3
Attachments:
- SPR-6526.patch (1.51 kB)
Issue Links:
- Spel parser is not able to resolve bean id variable when it is passed as parameter to a static method. [SPR-5584] #10255 Spel parser is not able to resolve bean id variable when it is passed as parameter to a static method. ("is duplicated by")
Referenced from: commits 33a7bbb
Metadata
Metadata
Assignees
Labels
type: bugA general bugA general bug