Merge branch '3.5.x'

Closes gh-48306
This commit is contained in:
Stéphane Nicoll
2025-11-26 16:02:42 +01:00
2 changed files with 2 additions and 2 deletions
@@ -138,7 +138,7 @@ class AnnotationsPropertySource extends EnumerablePropertySource<Class<?>> {
}
else if (value instanceof MergedAnnotation<?> annotation) {
for (Method attribute : annotation.getType().getDeclaredMethods()) {
collectProperties(name, defaultSkip, (MergedAnnotation<?>) value, attribute, properties);
collectProperties(name, defaultSkip, annotation, attribute, properties);
}
}
else {