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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to