diff --git a/jaxws-ri/runtime/rt/src/main/java/com/sun/xml/ws/spi/db/TypeInfo.java b/jaxws-ri/runtime/rt/src/main/java/com/sun/xml/ws/spi/db/TypeInfo.java index 941910b51..1a26a2111 100644 --- a/jaxws-ri/runtime/rt/src/main/java/com/sun/xml/ws/spi/db/TypeInfo.java +++ b/jaxws-ri/runtime/rt/src/main/java/com/sun/xml/ws/spi/db/TypeInfo.java @@ -162,7 +162,7 @@ public TypeInfo getItemType() { Type componentType = ((Class)type).getComponentType(); Type genericComponentType = null; if (genericType!= null && genericType instanceof GenericArrayType) { - GenericArrayType arrayType = (GenericArrayType) type; + GenericArrayType arrayType = (GenericArrayType) genericType; genericComponentType = arrayType.getGenericComponentType(); componentType = arrayType.getGenericComponentType(); }