Skip to content

Stop replacing existing Bean Override definitions with pseudo-definitions #33627

@sbrannen

Description

@sbrannen

BeanOverrideBeanFactoryPostProcessor currently replaces existing bean definitions with "pseudo" bean definitions; however, that is unnecessary.

An existing BeanDefinition is suitable as-is and does not need to be replaced with a pseudo/fake definition.

The only time we need to register a new BeanDefinition is when we create a BeanDefinition for a nonexistent bean.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions