mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-26 20:09:02 +00:00
Update `EventPublishingRunListener` to ensure that application event listeners are always refreshed before multicasting initial events. Prior to this commit, refreshing occurred after multicasting which meant that listeners added by a different `SpringApplicationRunListener` would not be picked up. This caused properties from tests that have `UseMainMethod` set to `ALWAYS` or `WHEN_AVAILABLE` to be missing. Fixes gh-32860