Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 87301 invoked from network); 13 Jun 2007 12:20:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Jun 2007 12:20:48 -0000 Received: (qmail 83908 invoked by uid 500); 13 Jun 2007 12:20:51 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 83890 invoked by uid 500); 13 Jun 2007 12:20:51 -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 83881 invoked by uid 99); 13 Jun 2007 12:20:51 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jun 2007 05:20:51 -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; Wed, 13 Jun 2007 05:20:47 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 536827141AA for ; Wed, 13 Jun 2007 05:20:26 -0700 (PDT) Message-ID: <24046910.1181737226339.JavaMail.jira@brutus> Date: Wed, 13 Jun 2007 05:20:26 -0700 (PDT) From: "Alexei Zakharov (JIRA)" To: commits@harmony.apache.org Subject: [jira] Assigned: (HARMONY-4106) [classlib][beans] XMLEncoder does not encode array values In-Reply-To: <22460595.1181316146139.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-4106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexei Zakharov reassigned HARMONY-4106: ---------------------------------------- Assignee: Alexei Zakharov > [classlib][beans] XMLEncoder does not encode array values > ---------------------------------------------------------- > > Key: HARMONY-4106 > URL: https://issues.apache.org/jira/browse/HARMONY-4106 > Project: Harmony > Issue Type: Bug > Components: Classlib > Reporter: Roman S. Bushmanov > Assignee: Alexei Zakharov > > The expected content of out.xml file after execution of the test > ----------------------------------------- Test.java ---------------------------------------------------- > import java.beans.XMLEncoder; > import java.io.*; > public class Test { > public static void main(String[] args) throws Exception { > XMLEncoder encoder = new XMLEncoder(new FileOutputStream("out.xml")); > encoder.writeObject(new int[] { 2, 4 }); > encoder.close(); > } > } > ------------------------------------------------------------------------------------------------------------ > is > ------------------------------------------------ out.xml ------------------------------------------------- > > > > > 2 > > > 4 > > > > ------------------------------------------------------------------------------------------------------------ > however, Harmony produces the following > ------------------------------------------------ out.xml ------------------------------------------------- > > > > > ------------------------------------------------------------------------------------------------------------ -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.