Author: markt
Date: Tue Jul 5 10:03:06 2011
New Revision: 1142953
URL: http://svn.apache.org/viewvc?rev=1142953&view=rev
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=51472
Correctly test modifiers when resolving bean methods with the BeanELResolver.
Patch provided by Friedhelm Kuehn.
Modified:
tomcat/trunk/java/javax/el/BeanELResolver.java
tomcat/trunk/webapps/docs/changelog.xml
Modified: tomcat/trunk/java/javax/el/BeanELResolver.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/java/javax/el/BeanELResolver.java?rev=1142953&r1=1142952&r2=1142953&view=diff
==============================================================================
--- tomcat/trunk/java/javax/el/BeanELResolver.java (original)
+++ tomcat/trunk/java/javax/el/BeanELResolver.java Tue Jul 5 10:03:06 2011
@@ -312,7 +312,7 @@ public class BeanELResolver extends ELRe
}
private static final Method getMethod(Class<?> type, Method m) {
- if (m == null || Modifier.isPublic(type.getModifiers())) {
+ if (m == null || Modifier.isPublic(m.getModifiers())) {
return m;
}
Class<?>[] inf = type.getInterfaces();
Modified: tomcat/trunk/webapps/docs/changelog.xml
URL:
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1142953&r1=1142952&r2=1142953&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/trunk/webapps/docs/changelog.xml Tue Jul 5 10:03:06 2011
@@ -84,6 +84,14 @@
</fix>
</changelog>
</subsection>
+ <subsection name="Jasper">
+ <changelog>
+ <fix>
+ <bug>51472</bug>: Correctly test modifiers when resolving bean methods
+ with the BeanELResolver. Patch provided by Friedhelm Kuehn. (markt)
+ </fix>
+ </changelog>
+ </subsection>
<subsection name="Other">
<changelog>
<fix>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]