Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 048A07014 for ; Fri, 5 Aug 2011 06:20:07 +0000 (UTC) Received: (qmail 92865 invoked by uid 500); 5 Aug 2011 06:20:02 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 92483 invoked by uid 500); 5 Aug 2011 06:19:55 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 92443 invoked by uid 99); 5 Aug 2011 06:19:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Aug 2011 06:19:52 +0000 X-ASF-Spam-Status: No, hits=-2000.7 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Aug 2011 06:19:49 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 2C8F0A943A for ; Fri, 5 Aug 2011 06:19:28 +0000 (UTC) Date: Fri, 5 Aug 2011 06:19:28 +0000 (UTC) From: "Henri Yandell (JIRA)" To: issues@commons.apache.org Message-ID: <613853190.10521.1312525168179.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1867415580.16405.1310713139583.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (LANG-727) ToStringBuilderTest.testReflectionHierarchyArrayList fails with IBM JDK 6 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LANG-727?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Henri Yandell updated LANG-727: ------------------------------- Fix Version/s: (was: 3.0.1) 3.0.2 > ToStringBuilderTest.testReflectionHierarchyArrayList fails with IBM JDK 6 > ------------------------------------------------------------------------- > > Key: LANG-727 > URL: https://issues.apache.org/jira/browse/LANG-727 > Project: Commons Lang > Issue Type: Bug > Components: lang.builder.* > Affects Versions: 3.0 > Reporter: Joerg Schaible > Priority: Trivial > Fix For: 3.0.2 > > > The unit test fails when running with IBM JDK 6: > {noformat} > Failed tests:=C2=A0 > =C2=A0=C2=A0testReflectionHierarchyArrayList(org.apache.commons.lang3.bui= lder.ToStringBuilderTest):=C2=A0null=C2=A0 > expected:<....ArrayList@115b115b[[elementData=3D{,,,,,,,null>,null>,null>},size=3D0],modCount=3D0]> > but was:<....ArrayList@115b115b[[firstIndex=3D0,lastIndex=3D0,array=3D{,,,,,,,null>,null>,null>}],modCount= =3D0]> > {noformat} > Actually the test is wrong, because it makes wrong assumptions about the = implementation of ArrayList in the runtime. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira