Phil Webb opened SPR-16322 and commented
#18772 updated CachedIntrospectionResults to explicitly introspect implemented interfaces (for Java 8 default methods), however it directly calls Introspector.getBeanInfo and I believe it should probably try the BeanInfoFactory implementations first, in case a custom introspection method is being used.
It's also possible to skip the Serializable interface and stop when Object is reached (rather than null).
Affects: 5.0.2
Issue Links:
Referenced from: pull request #1631, and commits 45828cb
Phil Webb opened SPR-16322 and commented
#18772 updated
CachedIntrospectionResultsto explicitly introspect implemented interfaces (for Java 8 default methods), however it directly callsIntrospector.getBeanInfoand I believe it should probably try theBeanInfoFactoryimplementations first, in case a custom introspection method is being used.It's also possible to skip the
Serializableinterface and stop whenObjectis reached (rather thannull).Affects: 5.0.2
Issue Links:
Referenced from: pull request #1631, and commits 45828cb