FIX InjectionUtils#getGetterFromSetter, patch from Ezequiel Rosas Garcia applied, This closes
@@ -1076,7 +1076,7 @@ public final class InjectionUtils {
}
public static Method getGetterFromSetter(Method setter) throws Exception {
- return setter.getClass().getMethod("get" + setter.getName().substring(3), new Class[]{});
+ return setter.getDeclaringClass().getMethod("get" + setter.getName().substring(3));
}
public static void injectContextProxiesAndApplication(AbstractResourceInfo cri,
