MethodIntrospector.selectMethods(…)
fails to find methods in case of special bridge method arrangement
#30906
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
status: backported
An issue that has been backported to maintenance branches
type: bug
A general bug
Milestone
In the case of an inheritance arrangement between types
MethodIntrospector.selectMethods(…)
might fail to detect methods on super classes as the bridge methods in the subclass introduced by the compiler. For this arrangement:The inspection of
A.externalize(…)
will detect a bridge methodB.externalize(…)
, which lets the following guard clause kick in and preventA.externalize(…)
from being selected:The text was updated successfully, but these errors were encountered: