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

View raw message