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

[jira] Resolved: (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 ]

Paulex Yang resolved HARMONY-3757.
----------------------------------

    Resolution: Fixed

Leo, patch applied at revision r532647, thanks a lot, please verify.

> [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
>         Assigned To: Paulex Yang
>         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.