Ok, I see. The initial implementation getGenericArrayType that should be simple is to
handle primitive arrays.
The problem is that the getGenericArrayType does not belong in the WeakTypeClass as a
private method as it cannot be override to return an ArrayInfo. The implementation should
simply be the following in IntrospectionTypeInfoFactoryImpl:
| protected ArrayInfo getGenericArrayType(GenericArrayType type)
| {
| Type compType = type.getGenericComponentType();
| TypeInfo componentType = getTypeInfo(compType);
| ArrayInfoImpl result = new ArrayInfoImpl(componentType);
| return result;
| }
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113515#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...