Correctly test modifiers when resolving bean methods with the BeanELResolver.
Patch provided by Friedhelm Kuehn.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1142953 13f79535-47bb-0310-9956-
ffa450edef68
}
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();
</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>