You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Sean Qiu (JIRA)" <ji...@apache.org> on 2008/05/26 10:45:55 UTC

[jira] Closed: (HARMONY-5840) [calsslib][beans] Exception when XMLDecoder array is missing length

     [ https://issues.apache.org/jira/browse/HARMONY-5840?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Qiu closed HARMONY-5840.
-----------------------------

    Resolution: Fixed

Patch applied at r660122 .

> [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
>            Assignee: Sean Qiu
>             Fix For: 5.0M6
>
>         Attachments: Harmony-5840.diff
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> 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.