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-2192) [classlib][ObjectStreamInputStream]Fails to deserialze an object created by cglib
Date Wed, 15 Nov 2006 09:44:39 GMT
[classlib][ObjectStreamInputStream]Fails to deserialze an object created by cglib
---------------------------------------------------------------------------------

                 Key: HARMONY-2192
                 URL: http://issues.apache.org/jira/browse/HARMONY-2192
             Project: Harmony
          Issue Type: Bug
            Reporter: Leo Li


Harmony fails to deserialze an object created by cglib.
[HOW TO RUN: pls put the jars in patch to the classpath and the object.ser file to current
directory]
Here is the testcase:
public class TestSerialization extends TestCase {
	public void testSerialization()throws Exception
	{
		File file = new File("object.ser");
		ObjectInputStream oin = new ObjectInputStream(new FileInputStream(file));
		Object o = oin.readObject();
		assertNotNull(o);
		oin.close();
	}

}

RI passes
Harmony fails

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message