Phil Webb opened SPR-15838 and commented
Originally raised against Spring Boot, but I think this might be a Framework issue.
The SimpleApplicationEventMulticaster deals with lambda-defined implementations by catching any ClassCastException. However, if an ErrorHandler has been set a different code path runs that does not catch the exception.
The relevant code is here.
Affects: 4.3.10, 5.0 RC3
Issue Links:
Referenced from: commits dd2bbcb, f948742
1 votes, 2 watchers