You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Richard Liang (JIRA)" <ji...@apache.org> on 2006/11/20 11:24:04 UTC

[jira] Resolved: (HARMONY-2192) [classlib][ObjectStreamInputStream]Fails to deserialze an object created by cglib

     [ http://issues.apache.org/jira/browse/HARMONY-2192?page=all ]

Richard Liang resolved HARMONY-2192.
------------------------------------

    Resolution: Fixed

Hello Leo,

The patch is applied at revision r477132, thanks a lot for this enhancement, please verify that the problem is fully fixed as you expected.

Best regards,
Richard


> [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
>         Assigned To: Richard Liang
>         Attachments: patch-2192.diff, resource.zip
>
>
> 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