harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paulex Yang (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (HARMONY-3726) [classlib][luni]java.io.ObjectInputStream fails to parse serialization file with "[L[Ljava.lang.String;;" as ObjectStreamField signature for string array.
Date Tue, 24 Apr 2007 03:43:15 GMT

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

Paulex Yang reassigned HARMONY-3726:
------------------------------------

    Assignee: Paulex Yang

> [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.


Mime
View raw message