-
Notifications
You must be signed in to change notification settings - Fork 38.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SimpleApplicationEventMulticaster does not deal with lambda-defined listeners when ErrorHandler is set [SPR-15838] #20393
Labels
Milestone
Comments
Phil Webb commented Stacktace for reference:
|
Dennis Kieselhorst commented Thanks for analysing, I was unsure where the root cause is located that's why I opened a boot issue first. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 anyClassCastException
. However, if anErrorHandler
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
The text was updated successfully, but these errors were encountered: