openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject svn commit: r1622199 - /openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/GenericsUtil.java
Date Wed, 03 Sep 2014 09:45:46 GMT
Author: arne
Date: Wed Sep  3 09:45:45 2014
New Revision: 1622199

URL: http://svn.apache.org/r1622199
Log:
OWB-946: Fixed ParameterizedTypesInjectionToParameterizedWithTypeVariableTest

Modified:
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/GenericsUtil.java

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/GenericsUtil.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/GenericsUtil.java?rev=1622199&r1=1622198&r2=1622199&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/GenericsUtil.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/GenericsUtil.java
Wed Sep  3 09:45:45 2014
@@ -298,6 +298,10 @@ public final class GenericsUtil
                 }
 
             }
+            else if (!isDelegate && injectionPointTypeArgument instanceof TypeVariable)
+            {
+                return false;
+            }
             else if (!isAssignableFrom(isDelegate, injectionPointTypeArgument, beanTypeArgument))
             {
                 return false;



Mime
View raw message