From 391774bfc9714b2e5229f735508b7fad2add4c75 Mon Sep 17 00:00:00 2001 From: rfeng Date: Tue, 29 Sep 2009 23:42:54 +0000 Subject: Fix the generic array type introspection git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@820126 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/tuscany/sca/databinding/jaxb/JAXBContextHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'java/sca/modules/databinding-jaxb/src') diff --git a/java/sca/modules/databinding-jaxb/src/main/java/org/apache/tuscany/sca/databinding/jaxb/JAXBContextHelper.java b/java/sca/modules/databinding-jaxb/src/main/java/org/apache/tuscany/sca/databinding/jaxb/JAXBContextHelper.java index 0e0bb2a931..afa80d748a 100644 --- a/java/sca/modules/databinding-jaxb/src/main/java/org/apache/tuscany/sca/databinding/jaxb/JAXBContextHelper.java +++ b/java/sca/modules/databinding-jaxb/src/main/java/org/apache/tuscany/sca/databinding/jaxb/JAXBContextHelper.java @@ -284,7 +284,7 @@ public final class JAXBContextHelper { } } 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()) { -- cgit v1.2.3