Description
When using XMLDecoder to decoder following xml file, it will throw unexpected exception.
The root cause of the exception is that our XMLDecoder cannot handle the arry without length.
But RI can return the right object according to the sub elements of the node.
<java version='1.4.0' class='java.beans.XMLDecoder'>
<array class='int'>
<int>11</int>
<int>22</int>
</array>
</java>