summaryrefslogtreecommitdiffstats
path: root/java/sca/modules/databinding-jaxb/src
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-09-29 23:42:54 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-09-29 23:42:54 +0000
commit391774bfc9714b2e5229f735508b7fad2add4c75 (patch)
tree3f21b3082c25e7bb12e7a0b1ecb11d0f3c456551 /java/sca/modules/databinding-jaxb/src
parentb7fb8ba1b979ed77a8d9ad29acd15d9ae9a78d8f (diff)
Fix the generic array type introspection
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@820126 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/modules/databinding-jaxb/src')
-rw-r--r--java/sca/modules/databinding-jaxb/src/main/java/org/apache/tuscany/sca/databinding/jaxb/JAXBContextHelper.java2
1 files changed, 1 insertions, 1 deletions
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()) {