Browse Source
This commit refines the preDetermineBeanTypes algorithm that AOT uses to approximate the order of preInstantiateSingletons more closely. Previously, the algorithm assumed that all beans where non-lazy singletons in terms of initialization order, which led to inconsistent order in CGLIB proxy generation. We now explicitly park lazy beans so that their types are determined during a second phase, matching the order of regular initialization order. Closes gh-32701 Co-authored-by: Juergen Hoeller <juergen.hoeller@broadcom.com>pull/33048/head
1 changed files with 32 additions and 10 deletions
Loading…
Reference in new issue