You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Leo Li (JIRA)" <ji...@apache.org> on 2007/04/26 15:50:15 UTC
[jira] Closed: (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 ]
Leo Li closed HARMONY-3726.
---------------------------
Verified.
> [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.