Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 66498 invoked from network); 23 Jul 2008 20:39:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Jul 2008 20:39:54 -0000 Received: (qmail 64980 invoked by uid 500); 23 Jul 2008 20:39:52 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 64859 invoked by uid 500); 23 Jul 2008 20:39:52 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 64848 invoked by uid 99); 23 Jul 2008 20:39:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jul 2008 13:39:52 -0700 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; Wed, 23 Jul 2008 20:39:06 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A914B234C177 for ; Wed, 23 Jul 2008 13:39:31 -0700 (PDT) Message-ID: <753703124.1216845571677.JavaMail.jira@brutus> Date: Wed, 23 Jul 2008 13:39:31 -0700 (PDT) From: "Joe Bohn (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Updated: (GERONIMO-3672) org.apache.geronimo.j2ee.deployment.annotation.AnnotationHelperTest is implementation-dependent In-Reply-To: <1921012.1196804323256.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/GERONIMO-3672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bohn updated GERONIMO-3672: ------------------------------- Fix Version/s: (was: 2.0.x) 2.0.3 > org.apache.geronimo.j2ee.deployment.annotation.AnnotationHelperTest is implementation-dependent > ----------------------------------------------------------------------------------------------- > > Key: GERONIMO-3672 > URL: https://issues.apache.org/jira/browse/GERONIMO-3672 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: testsuite > Affects Versions: 2.0.2 > Reporter: Vasily Zakharov > Assignee: Jarek Gawor > Fix For: 2.0.3, 2.1 > > > Test org.apache.geronimo.j2ee.deployment.annotation.AnnotationHelperTest may fail on non-Sun implementation, because it assumes the order in which Class.getFields() returns the fields, while specification doesn't specify the particular order. > The problem occurs in method PersistenceUnitAnnotationHelper.processPersistenceUnit() which gets the fields and adds them to the annotatedApp, that is later compared (in the tests themselves) with expected XML - at this point the tests may as the order of elements in the resulting XML may be different. > The following assertions fail on Apache Harmony because of this fact: > testPersistenceContextAnnotationHelper > testPersistenceUnitAnnotationHelper > testWebServiceRefAnnotationHelper -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.