Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 68889 invoked from network); 24 May 2006 08:16:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 24 May 2006 08:16:21 -0000 Received: (qmail 29348 invoked by uid 500); 24 May 2006 08:16:15 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 29095 invoked by uid 500); 24 May 2006 08:16:14 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 28974 invoked by uid 99); 24 May 2006 08:16:14 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 May 2006 01:16:14 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 May 2006 01:16:12 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5DB4571429D for ; Wed, 24 May 2006 08:15:32 +0000 (GMT) Message-ID: <6610837.1148458532381.JavaMail.jira@brutus> Date: Wed, 24 May 2006 08:15:32 +0000 (GMT+00:00) From: "Holger Haag (JIRA)" To: commons-dev@jakarta.apache.org Subject: [jira] Updated: (BETWIXT-52) Bug/Testcase: Reading does not work: Container holding a list (generics) of interface implementations In-Reply-To: <12016270.1148458530503.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 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/BETWIXT-52?page=all ] Holger Haag updated BETWIXT-52: ------------------------------- Attachment: poly.zip > Bug/Testcase: Reading does not work: Container holding a list (generics) of interface implementations > ----------------------------------------------------------------------------------------------------- > > Key: BETWIXT-52 > URL: http://issues.apache.org/jira/browse/BETWIXT-52 > Project: Commons Betwixt > Type: Bug > Reporter: Holger Haag > Attachments: AlphaListHolder.java, TestPolyListHolder.java, betwixt-polylistholder-2006-05-24-svn-patch, poly.zip > > Referring to the thread http://mail-archives.apache.org/mod_mbox/jakarta-commons-user/200605.mbox/%3c18230.1147350149@www099.gmx.net%3e on the commons-user mailing list: > I've created a test case reproducing this issue. > First of all I've extended the existing test case TestPolyList: The interface implementations of AlphaOneImpl and AlphaTwoImpl now have attributes which are serialized/deserialized. This is closer to real-world examples. > Secondly, there is now a new javabean-like class, AlphaListHolder which holds an instance of AlphaList. The test case TestPolyListHolder tries to do the serialization/deserialization. Serialization works nicely, but reading the XML fails. > I'll attach four files: > - betwixt-polylistholder-2006-05-24-svn-patch: svn patch for existing files > - TestPolyListHolder.java: new test case > - AlphaListHolder.java: the holder class > - poly.zip: the whole poly package, just in case (the above mentioned three files should be sufficient to patch the SVN trunk) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org