+ fix initialization problem for root object (inside SpEL eval context)
+ add integration tests for root object expressions
This commit is contained in:
Costin Leau
2010-12-21 15:47:22 +00:00
parent e90f0a35e3
commit 893fc83f49
5 changed files with 39 additions and 0 deletions

View File

@@ -46,6 +46,8 @@ class LazyParamAwareEvaluationContext extends StandardEvaluationContext {
LazyParamAwareEvaluationContext(Object rootObject, ParameterNameDiscoverer paramDiscoverer, Method method,
Object[] args, Class<?> targetClass, Map<Method, Method> methodCache) {
super(rootObject);
this.paramDiscoverer = paramDiscoverer;
this.method = method;
this.args = args;