Merge branch '6.2.x'

This commit is contained in:
Sam Brannen
2025-01-03 17:29:14 +02:00
9 changed files with 46 additions and 46 deletions

View File

@@ -710,8 +710,7 @@ public abstract class ReflectionUtils {
// Keep backing up the inheritance hierarchy.
Class<?> targetClass = clazz;
do {
Field[] fields = getDeclaredFields(targetClass);
for (Field field : fields) {
for (Field field : getDeclaredFields(targetClass)) {
if (ff != null && !ff.matches(field)) {
continue;
}