@ -173,8 +173,9 @@ public class SimpleApplicationEventMulticaster extends AbstractApplicationEventM
@@ -173,8 +173,9 @@ public class SimpleApplicationEventMulticaster extends AbstractApplicationEventM
// Possibly a lambda-defined listener which we could not resolve the generic event type for
// -> let's suppress the exception and just log a debug message.
Loglogger=LogFactory.getLog(getClass());
if(logger.isDebugEnabled()){
logger.debug("Non-matching event type for listener: "+listener,ex);
@ -186,4 +187,18 @@ public class SimpleApplicationEventMulticaster extends AbstractApplicationEventM
@@ -186,4 +187,18 @@ public class SimpleApplicationEventMulticaster extends AbstractApplicationEventM
@ -472,6 +472,30 @@ public class ApplicationContextEventTests extends AbstractApplicationEventListen
@@ -472,6 +472,30 @@ public class ApplicationContextEventTests extends AbstractApplicationEventListen