openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmannibu...@apache.org
Subject svn commit: r1843976 - /openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/event/NotificationManager.java
Date Tue, 16 Oct 2018 08:01:23 GMT
Author: rmannibucau
Date: Tue Oct 16 08:01:23 2018
New Revision: 1843976

URL: http://svn.apache.org/viewvc?rev=1843976&view=rev
Log:
fixing tests - and ensuring extension observers are respecting their signature

Modified:
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/event/NotificationManager.java

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/event/NotificationManager.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/event/NotificationManager.java?rev=1843976&r1=1843975&r2=1843976&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/event/NotificationManager.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/event/NotificationManager.java
Tue Oct 16 08:01:23 2018
@@ -536,6 +536,10 @@ public final class NotificationManager
                 return true;
             }
         }
+        else if (observerTypeActualArg instanceof ParameterizedType)
+        {
+            return GenericsUtil.isAssignableFrom(false, true, observerTypeActualArg, beanClass);
+        }
         
         return false;
     }



Mime
View raw message