You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Leo Li (JIRA)" <ji...@apache.org> on 2007/04/26 04:39:15 UTC

[jira] Updated: (HARMONY-3757) [classlib][beans]java.beans.beancontext.BeanContextServicesSupport has problem in self-deserialization.

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

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

    Attachment:     (was: 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
>
> 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.