harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Qiu (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-5840) [calsslib][beans] Exception when XMLDecoder array is missing length
Date Fri, 23 May 2008 03:05:55 GMT
[calsslib][beans] Exception when XMLDecoder array is missing length
-------------------------------------------------------------------

                 Key: HARMONY-5840
                 URL: https://issues.apache.org/jira/browse/HARMONY-5840
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
    Affects Versions: 5.0M6
            Reporter: Sean Qiu
             Fix For: 5.0M6


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>




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message