mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-20 12:19:16 +00:00
6a7cb58fe36d2e5fe9e5dabfe245275edd8f58f1
Prior to this change, DirectFieldAccessor would ignore fields shadowed in subclasses, favoring the last field processed, which happens to be the most super declaration based on the way ReflectionUtils.doWithFields works. Because the locally shadowed field may be of a different type that the superclass declaration, it is most correct to preserve and work with the shadowed field. Issue: SPR-8398 git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4559 50f2f4bb-b051-0410-bef5-90022cba6387
Languages
Java
97.6%
Kotlin
2.3%