Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 7560 invoked from network); 26 Apr 2007 08:08:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Apr 2007 08:08:36 -0000 Received: (qmail 76711 invoked by uid 500); 26 Apr 2007 08:08:43 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 76688 invoked by uid 500); 26 Apr 2007 08:08:43 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 76679 invoked by uid 99); 26 Apr 2007 08:08:43 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Apr 2007 01:08:43 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Apr 2007 01:08:35 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C561771407E for ; Thu, 26 Apr 2007 01:08:15 -0700 (PDT) Message-ID: <27632713.1177574895806.JavaMail.jira@brutus> Date: Thu, 26 Apr 2007 01:08:15 -0700 (PDT) From: "Paulex Yang (JIRA)" To: commits@harmony.apache.org Subject: [jira] Resolved: (HARMONY-3757) [classlib][beans]java.beans.beancontext.BeanContextServicesSupport has problem in self-deserialization. In-Reply-To: <21557383.1177552815952.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ 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.