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] Updated: (HARMONY-3757) [classlib][beans]java.beans.beancontext.BeanContextServicesSupport has problem in self-deserialization.
Date Thu, 26 Apr 2007 02:41:15 GMT

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

Leo Li updated HARMONY-3757:
----------------------------

    Attachment: patch-3757.diff

> [classlib][beans]java.beans.beancontext.BeanContextServicesSupport has problem in self-deserialization.
> -------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3757
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3757
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Leo Li
>         Attachments: patch-3757.diff
>
>
> Here is a testcase:
>  public void testSerial() throws Exception
>     {
>         ByteArrayOutputStream baos = new ByteArrayOutputStream();
>         BeanContextServicesSupport beanContextServicesSupport = new  BeanContextServicesSupport();
>         new ObjectOutputStream(baos).writeObject(beanContextServicesSupport);       
>         ObjectInputStream OIS = new ObjectInputStream(new ByteArrayInputStream(baos.toByteArray()));
       
>         Object obj = OIS.readObject();
>         assertTrue(obj instanceof BeanContextServicesSupport);
>     }
> 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