Update ReflectivePropertyAccessor to search for fields on super classes
and implemented interfaces.
Although the javadoc Class.getFields() implies that all public fields
of class should be returned SpelReproTests demonstrates that this is
not always the case.
Issue: SPR-10125
@ -383,6 +383,18 @@ public class ReflectivePropertyAccessor implements PropertyAccessor {
@@ -383,6 +383,18 @@ public class ReflectivePropertyAccessor implements PropertyAccessor {
@ -1720,6 +1722,15 @@ public class SpelReproTests extends ExpressionTestCase {
@@ -1720,6 +1722,15 @@ public class SpelReproTests extends ExpressionTestCase {
@ -1768,4 +1779,16 @@ public class SpelReproTests extends ExpressionTestCase {
@@ -1768,4 +1779,16 @@ public class SpelReproTests extends ExpressionTestCase {