Does anyone have any comments on this issue?

http://issues.jabsorb.org/show_bug.cgi?id=60

The problem is that when arrays with 0 elements are unmarshalled, and there
is no type information available, the serializer just gives up (fail-fast)
and throws an exception.

I am proposing that we change it to instead assume Object[] and allow the
serialization to proceed.  If this is wrong, it will fail anyway, just
further on down the line (with a class cast exception) so I don't see any
harm in allowing this, but there is a benefit for the cases where the
receiver type is actually compatible with Object[]...

I think I will go ahead and check this change in if I don't hear any
feedback in the next few days.

thanks.
_______________________________________________
Jabsorb-dev mailing list
[email protected]
http://lists.jabsorb.org/mailman/listinfo/jabsorb-dev

Reply via email to