harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leo Li (JIRA)" <j...@apache.org>
Subject [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.
Date Mon, 23 Apr 2007 12:24:15 GMT
[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.


Mime
View raw message