When using @Import to import multiple BeanRegistrars, not all beans are registered

when using an ApplicationContextInitializer to call applicationContext.register(...) it works

Reproducer: https://github.com/wakingrufus/spring-repro

Comment From: wakingrufus

I have opened a PR which resolves this issue. please review to see if there are any implications of my fix that I am unaware of. Thanks!

Comment From: sdeleuze

Thanks, I will fix that in Spring Framework 7.0.0-RC2 with your PR #35653.

Comment From: wakingrufus

Thanks! I see this was closed as duplicate. if there is another issue for this, let me know and i can amend my commit to mention it. Thanks again!

Comment From: sdeleuze

Should have used status: superseded (by the PR), there is no other issue.