Browse Source
In AbstractApplicationEventMulticaster.retrieveApplicationListeners, despite best efforts to avoid it, unwrapped proxies (singleton targets) can end up in the list of programmatically registered listeners. In order to avoid duplicates, we need to find and replace them by their proxy counterparts, because if both a proxy and its target end up in 'allListeners', listeners will fire twice. Fixes #28283.pull/31407/head
Alexander Kriegisch
2 years ago
committed by
Juergen Hoeller
1 changed files with 18 additions and 0 deletions
Loading…
Reference in new issue