harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Zhang (JIRA)" <j...@apache.org>
Subject [jira] Closed: (HARMONY-3889) [classlib][luni] Harmony fails to deserialize org.jfree.data.category.DefaultCategoryDataset
Date Tue, 22 May 2007 12:02:17 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-3889?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrew Zhang closed HARMONY-3889.
---------------------------------

    Resolution: Cannot Reproduce

can not reproduce since revision 540515

> [classlib][luni]  Harmony fails to deserialize org.jfree.data.category.DefaultCategoryDataset
> ---------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3889
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3889
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Andrew Zhang
>
> Following test case reproduces the problem:
> public void testSerializable() throws Exception {
>         DefaultCategoryDataset dataset = new DefaultCategoryDataset();
>         getSerialiableObject(dataset);
>     }
>    
>     public static Object getSerialiableObject(Object obj) throws Exception {
>         ByteArrayOutputStream baos = new ByteArrayOutputStream();
>         ObjectOutputStream oos = new ObjectOutputStream(baos);
>         oos.writeObject(obj);
>         oos.close();
>         ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
>         ObjectInputStream fis = new ObjectInputStream(bais);
>         return fis.readObject();
>     }

-- 
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