@ -166,8 +166,13 @@ public class SimpleApplicationEventMulticaster extends AbstractApplicationEventM
@@ -166,8 +166,13 @@ public class SimpleApplicationEventMulticaster extends AbstractApplicationEventM
listener.onApplicationEvent(event);
}
catch(ClassCastExceptionex){
// Possibly a lambda-defined listener which we could not resolve the generic event type for
LogFactory.getLog(getClass()).debug("Non-matching event type for listener: "+listener,ex);
@ -379,6 +379,50 @@ public class ApplicationContextEventTests extends AbstractApplicationEventListen
@@ -379,6 +379,50 @@ public class ApplicationContextEventTests extends AbstractApplicationEventListen