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/23 14:24:15 UTC
[jira] Created: (HARMONY-3726)
[classlib][luni]java.io.ObjectInputStream fails to parse serialization file
with "[L[Ljava.lang.String;;" as ObjectStreamField signature for string
array.
[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
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.
[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.
Posted by "Paulex Yang (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (HARMONY-3726)
[classlib][luni]java.io.ObjectInputStream fails to parse serialization file
with "[L[Ljava.lang.String;;" as ObjectStreamField signature for string
array.
Posted by "Leo Li (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Leo Li updated HARMONY-3726:
----------------------------
Attachment: patch-3726.zip
Will somebody try the patch?
Good luck,
Leo
> [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
> 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.
[jira] Updated: (HARMONY-3726)
[classlib][luni]java.io.ObjectInputStream fails to parse serialization file
with "[L[Ljava.lang.String;;" as ObjectStreamField signature for string
array.
Posted by "Leo Li (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Leo Li updated HARMONY-3726:
----------------------------
Attachment: test.ser
> [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
> Attachments: 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.
[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.
Posted by "Leo Li (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (HARMONY-3726)
[classlib][luni]java.io.ObjectInputStream fails to parse serialization file
with "[L[Ljava.lang.String;;" as ObjectStreamField signature for string
array.
Posted by "Leo Li (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Leo Li updated HARMONY-3726:
----------------------------
Patch Info: [Patch Available]
> [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
> 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.
[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.
Posted by "Paulex Yang (JIRA)" <ji...@apache.org>.
[ 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.