You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Andrew Zhang (JIRA)" <ji...@apache.org> on 2007/05/17 13:26:16 UTC
[jira] Created: (HARMONY-3889) [classlib][luni] Harmony fails to
deserialize org.jfree.data.category.DefaultCategoryDataset
[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.
[jira] Closed: (HARMONY-3889) [classlib][luni] Harmony fails to
deserialize org.jfree.data.category.DefaultCategoryDataset
Posted by "Andrew Zhang (JIRA)" <ji...@apache.org>.
[ 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.