We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 019c34f commit 021161eCopy full SHA for 021161e
spring-context/src/main/java/org/springframework/validation/SimpleErrors.java
@@ -132,6 +132,7 @@ public Object getFieldValue(String field) {
132
133
PropertyDescriptor pd = BeanUtils.getPropertyDescriptor(this.target.getClass(), field);
134
if (pd != null && pd.getReadMethod() != null) {
135
+ ReflectionUtils.makeAccessible(pd.getReadMethod());
136
return ReflectionUtils.invokeMethod(pd.getReadMethod(), this.target);
137
}
138
0 commit comments