You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Paulex Yang (JIRA)" <ji...@apache.org> on 2007/04/25 09:51:15 UTC

[jira] Resolved: (HARMONY-3726) [classlib][luni]java.io.ObjectInputStream fails to parse serialization file with "[L[Ljava.lang.String;;" as ObjectStreamField signature for string array.

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

Paulex Yang resolved HARMONY-3726.
----------------------------------

    Resolution: Fixed

Leo, patch applied at revision r532239, thanks a lot, please verify.

> [classlib][luni]java.io.ObjectInputStream fails to parse serialization file with "[L[Ljava.lang.String;;" as ObjectStreamField signature for string array.
> ----------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3726
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3726
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Leo Li
>         Assigned To: Paulex Yang
>         Attachments: patch-3726.zip, test.ser
>
>
> Here is a testcase:
>           public class Test implements Serializable
>           {
>                private static final long serialVersionUID = 1L;    
>                public String[] strings;
>           }
>         public void testReadObject()
>         {
>            FileInputStream fin = new FileInputStream("test.ser");
>           ObjectInputStream oin = new ObjectInputStream(fin);
>           Test test = (Test)oin.readObject();
>           assertEquals(2, test.strings.length);
>         }
> RI passes.
> Harmony fails.

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