tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rf...@apache.org
Subject svn commit: r820126 - /tuscany/java/sca/modules/databinding-jaxb/src/main/java/org/apache/tuscany/sca/databinding/jaxb/JAXBContextHelper.java
Date Tue, 29 Sep 2009 23:42:54 GMT
Author: rfeng
Date: Tue Sep 29 23:42:54 2009
New Revision: 820126

URL: http://svn.apache.org/viewvc?rev=820126&view=rev
Log:
Fix the generic array type introspection

Modified:
    tuscany/java/sca/modules/databinding-jaxb/src/main/java/org/apache/tuscany/sca/databinding/jaxb/JAXBContextHelper.java

Modified: tuscany/java/sca/modules/databinding-jaxb/src/main/java/org/apache/tuscany/sca/databinding/jaxb/JAXBContextHelper.java
URL: http://svn.apache.org/viewvc/tuscany/java/sca/modules/databinding-jaxb/src/main/java/org/apache/tuscany/sca/databinding/jaxb/JAXBContextHelper.java?rev=820126&r1=820125&r2=820126&view=diff
==============================================================================
--- tuscany/java/sca/modules/databinding-jaxb/src/main/java/org/apache/tuscany/sca/databinding/jaxb/JAXBContextHelper.java
(original)
+++ tuscany/java/sca/modules/databinding-jaxb/src/main/java/org/apache/tuscany/sca/databinding/jaxb/JAXBContextHelper.java
Tue Sep 29 23:42:54 2009
@@ -284,7 +284,7 @@
             }
         } else if (type instanceof GenericArrayType) {
             GenericArrayType gType = (GenericArrayType)type;
-            findClasses(gType, classSet, visited);
+            findClasses(gType.getGenericComponentType(), classSet, visited);
         } else if (type instanceof WildcardType) {
             WildcardType wType = (WildcardType)type;
             for (Type t : wType.getLowerBounds()) {



Mime
View raw message