-
Notifications
You must be signed in to change notification settings - Fork 38.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restore order of setImportMetadata in AOT optimized contexts
This commit adapts the generated code for handling ImportAware to register a bean definition rather than adding the BeanPostProcessor directly on the beanFactory. The previous arrangement put the post processor handling import aware callbacks first on the list, leading to inconsistent callback orders. Tests have been adapted to validate this exact scenario. Closes gh-28915
- Loading branch information
Showing
2 changed files
with
75 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters