Improve handling for method invocation in EL, in particular the method used to identi...
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 1 Jul 2010 09:35:23 +0000 (09:35 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 1 Jul 2010 09:35:23 +0000 (09:35 +0000)
commit58771f0b3dfc19625e739d73856187ba1641a9bd
tree4b06ade925137549c9f567887847f750a0198879
parent442a6a24f019541683bb240c1a4ebdc8d8f1bc79
Improve handling for method invocation in EL, in particular the method used to identify the method to invoke. This reverts r953440 and implements a more comprehensive solution.
The method identification code attempts to mimic how the Java compiler works. In a few cases it finds methods where the Java complier reports an ambiguous method. The EL spec is sufficiently vague on method selection that I don't think this will be an issue.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@959568 13f79535-47bb-0310-9956-ffa450edef68
12 files changed:
java/org/apache/el/ExpressionFactoryImpl.java
java/org/apache/el/Messages.properties
java/org/apache/el/lang/ExpressionBuilder.java
java/org/apache/el/parser/AstValue.java
java/org/apache/el/util/ReflectionUtil.java
test/org/apache/el/TestMethodExpressionImpl.java
test/org/apache/el/TesterBeanA.java
test/org/apache/el/TesterBeanAA.java [new file with mode: 0644]
test/org/apache/el/TesterBeanAAA.java [new file with mode: 0644]
test/org/apache/el/TesterBeanBBB.java [new file with mode: 0644]
test/org/apache/el/TesterBeanC.java [new file with mode: 0644]
webapps/docs/changelog.xml