Closed
Description
Jose Luis Martin opened SPR-11025 and commented
When checking for overloaded methods, ConfigurationClass.validate()
don't take in account overloaded methods from superclasses, so a invalid configuration class with overloaded methods obtained by inheritance bypass the check.
Affects: 4.0 M3
Issue Links:
- JavaConfig Bean overriding with addition [SPR-10988] #15616 JavaConfig Bean overriding with addition
- @Bean overriding does not pick up metadata from most specific method [SPR-10992] #15620
@Bean
overriding does not pick up metadata from most specific method - Fix/optimize handling of @Bean method override regression with return type narrowing on JDK 8 [SPR-11718] #16340 Fix/optimize handling of
@Bean
method override regression with return type narrowing on JDK 8
Referenced from: commits 935bd25