diff options
author | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2009-10-12 05:22:04 +0000 |
---|---|---|
committer | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2009-10-12 05:22:04 +0000 |
commit | 5c09aba54db57758091cb742f944905c307db277 (patch) | |
tree | f0ec042c045a74b965628856ef78719f5e000dfd /branches/sca-java-1.5.2/modules/databinding-jaxb | |
parent | 7ad2f1e57e302240584f599185b8c9efcfc66153 (diff) |
TUSCANY-3288 - Special handling of arrays to properly create the JAXB Context and minor enhancement on the Atom Binding to avoid data copy
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@824234 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-java-1.5.2/modules/databinding-jaxb')
-rw-r--r-- | branches/sca-java-1.5.2/modules/databinding-jaxb/src/main/java/org/apache/tuscany/sca/databinding/jaxb/JAXBContextHelper.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/branches/sca-java-1.5.2/modules/databinding-jaxb/src/main/java/org/apache/tuscany/sca/databinding/jaxb/JAXBContextHelper.java b/branches/sca-java-1.5.2/modules/databinding-jaxb/src/main/java/org/apache/tuscany/sca/databinding/jaxb/JAXBContextHelper.java index 833017a921..d129ae6256 100644 --- a/branches/sca-java-1.5.2/modules/databinding-jaxb/src/main/java/org/apache/tuscany/sca/databinding/jaxb/JAXBContextHelper.java +++ b/branches/sca-java-1.5.2/modules/databinding-jaxb/src/main/java/org/apache/tuscany/sca/databinding/jaxb/JAXBContextHelper.java @@ -284,7 +284,7 @@ public 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()) { |