mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-02 07:19:01 +00:00
Previously, AbstractDependsOnBeanFactoryPostProcessor was unordered which meant that it was impossible to guarantee that another bean factory post-processor would run after it. This prevented overriding of the dependsOn relationships that is creates. This commit updates AbstractDependsOnBeanFactoryPostProcessor to give it a default order of zero. This will allow additional bean factory post-processors to be configured with a lower precedence order (values greater than 0) so that they run after any AbstractDependsOnBeanFactoryPostProcessor and can override the dependencies that it has configured. Fixes gh-18362