You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2010/01/13 18:53:36 UTC
svn commit: r898860 - /tomcat/trunk/java/javax/el/BeanELResolver.java
Author: markt
Date: Wed Jan 13 17:53:36 2010
New Revision: 898860
URL: http://svn.apache.org/viewvc?rev=898860&view=rev
Log:
If the method is found, mark the property as resolved
Modified:
tomcat/trunk/java/javax/el/BeanELResolver.java
Modified: tomcat/trunk/java/javax/el/BeanELResolver.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/javax/el/BeanELResolver.java?rev=898860&r1=898859&r2=898860&view=diff
==============================================================================
--- tomcat/trunk/java/javax/el/BeanELResolver.java (original)
+++ tomcat/trunk/java/javax/el/BeanELResolver.java Wed Jan 13 17:53:36 2010
@@ -429,8 +429,9 @@
}
}
}
+ Object result = null;
try {
- return matchingMethod.invoke(base, parameters);
+ result = matchingMethod.invoke(base, parameters);
} catch (IllegalArgumentException e) {
throw new ELException(e);
} catch (IllegalAccessException e) {
@@ -439,6 +440,8 @@
throw new ELException(e.getCause());
}
+ context.setPropertyResolved(true);
+ return result;
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org