Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 18349 invoked from network); 2 Jul 2009 06:47:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Jul 2009 06:47:01 -0000 Received: (qmail 79729 invoked by uid 500); 2 Jul 2009 06:47:11 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 79684 invoked by uid 500); 2 Jul 2009 06:47:11 -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 79675 invoked by uid 99); 2 Jul 2009 06:47:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jul 2009 06:47:11 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jul 2009 06:47:08 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6739B234C004 for ; Wed, 1 Jul 2009 23:46:47 -0700 (PDT) Message-ID: <1529224552.1246517207408.JavaMail.jira@brutus> Date: Wed, 1 Jul 2009 23:46:47 -0700 (PDT) From: "Kevin Zhou (JIRA)" To: commits@harmony.apache.org Subject: [jira] Resolved: (HARMONY-6244) [classlib][beans] java.beans.XMLEncoder fails to write SystemColor.activeCaption object correctly In-Reply-To: <1066130601.1245835507395.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-6244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kevin Zhou resolved HARMONY-6244. --------------------------------- Resolution: Fixed Patch applied in AWT repos at r790471. > [classlib][beans] java.beans.XMLEncoder fails to write SystemColor.activeCaption object correctly > ------------------------------------------------------------------------------------------------- > > Key: HARMONY-6244 > URL: https://issues.apache.org/jira/browse/HARMONY-6244 > Project: Harmony > Issue Type: Bug > Components: Classlib > Affects Versions: 5.0M10 > Reporter: Kevin Zhou > Assignee: Kevin Zhou > Fix For: 5.0M11 > > Attachments: HARMONY-6244.diff > > Original Estimate: 24h > Remaining Estimate: 24h > > Given a test case [1], RI outputs differently from HARMONY. > RI's outputs: > > > > while HARMONY outputs: > > > > [1] Test Case: > public void test_writeObject_java_awt_SystemColor() { > ByteArrayOutputStream bos = new ByteArrayOutputStream(); > XMLEncoder encoder = new XMLEncoder(bos); > encoder.writeObject(SystemColor.activeCaption); > encoder.close(); > System.out.println(bos.toString()); > } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.