I tried to fiexed #25263,The test case is in ImportedConfigurationClassEnhancementTests#checkOverloadedBean,The test passed,It's in the Spring-Context module,You can verify it,thanks.

Comment From: rstoyanchev

The referenced issues have been fixed.