2014-08-05 15:24 GMT+04:00  <ma...@apache.org>:
> Author: markt
> Date: Tue Aug  5 11:24:03 2014
> New Revision: 1615912
>
> URL: http://svn.apache.org/r1615912
> Log:
> Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=56797
> When matching a method in an EL expression, do not treat bridge methods as 
> duplicates of the method they bridge to. In this case always call the target 
> of the bridge method.
>
> Modified:
>     tomcat/tc7.0.x/trunk/   (props changed)
>     tomcat/tc7.0.x/trunk/java/javax/el/Util.java
>     tomcat/tc7.0.x/trunk/java/org/apache/el/util/ReflectionUtil.java
>     tomcat/tc7.0.x/trunk/test/org/apache/el/TestMethodExpressionImpl.java
>     tomcat/tc7.0.x/trunk/test/org/apache/el/TesterBeanA.java
>     tomcat/tc7.0.x/trunk/test/org/apache/el/TesterBeanAA.java
>     tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml
>

in 2 classes Util.java and ReflectionUtil.java the following line does
not compile with Java 6, because Boolean.compare() is @since 1.7.

> +                        return Boolean.compare(o.isBridge(), 
> this.isBridge());

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to