Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.7.0
-
None
-
Windows XP Professional SP3, Xwork 2.1,
Description
I already solved the bug in Xwork (see http://jira.opensymphony.com/browse/XW-661), but the same problem exists with Common BeanUtils in org.apache.commons.beanutils.MethodUtils.getMatchingAccessibleMethod():558, add additional check if method is already accessible, like this
if (!method.isAccessible()) {
method.setAccessible(true);
}