Revert r1142953. The analysis was incorrect.
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 5 Jul 2011 10:42:15 +0000 (10:42 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 5 Jul 2011 10:42:15 +0000 (10:42 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1142972 13f79535-47bb-0310-9956-ffa450edef68

java/javax/el/BeanELResolver.java
webapps/docs/changelog.xml

index c525bb5..7ba9ce0 100644 (file)
@@ -312,7 +312,7 @@ public class BeanELResolver extends ELResolver {
     }
 
     private static final Method getMethod(Class<?> type, Method m) {
-        if (m == null || Modifier.isPublic(m.getModifiers())) {
+        if (m == null || Modifier.isPublic(type.getModifiers())) {
             return m;
         }
         Class<?>[] inf = type.getInterfaces();
index 04cf301..b517ec2 100644 (file)
       </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>