spring-framework/org.springframework.beans
Chris Beams 6a7cb58fe3 Preserve shadowed fields in DirectFieldAccessor
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
2011-06-16 06:33:44 +00:00
..
.settings Merge 3.1.0 development branch into trunk 2010-10-25 19:48:20 +00:00
src Preserve shadowed fields in DirectFieldAccessor 2011-06-16 06:33:44 +00:00
.classpath Polishing Eclipse classpath settings 2011-06-11 19:56:48 +00:00
.project
beans.iml Merge 3.1.0 development branch into trunk 2010-10-25 19:48:20 +00:00
build.xml
ivy.xml shortened build properties "org.junit.version" to "junit.version" and "org.testng.version" to "testng.version"; reverted SLF4J version back to 1.5.3 (for Hibernate 3.3.1 compatibility) 2011-06-09 09:58:15 +00:00
pom.xml Add hamcrest to beans pom in the right place to make tests compile 2010-11-16 17:12:32 +00:00
template.mf