Oliver Drotbohm opened SPR-15741 and commented

ReflectionUtils.getUniqueDeclaredMethods(…) seems to check for covariant return types although it doesn't need to as doWithMethods(…) by definition traverses the type hierarchy bottom up.


Affects: 4.3.9, 5.0 RC2

Comment From: bclozel

Sorry it took us so long to consider this issue. We can't remove this covariant check as it's required to CGLIB-generated classes, see ReflectionUtilsIntegrationTests.