Return-Path: Delivered-To: apmail-db-derby-commits-archive@www.apache.org Received: (qmail 36823 invoked from network); 15 Nov 2007 18:23:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Nov 2007 18:23:00 -0000 Received: (qmail 26418 invoked by uid 500); 15 Nov 2007 18:22:47 -0000 Delivered-To: apmail-db-derby-commits-archive@db.apache.org Received: (qmail 26383 invoked by uid 500); 15 Nov 2007 18:22:47 -0000 Mailing-List: contact derby-commits-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Derby Development" List-Id: Delivered-To: mailing list derby-commits@db.apache.org Received: (qmail 26372 invoked by uid 99); 15 Nov 2007 18:22:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Nov 2007 10:22:47 -0800 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.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Nov 2007 18:22:45 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 3B7F21A9832; Thu, 15 Nov 2007 10:22:39 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r595385 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/system/oe/client/Submitter.java Date: Thu, 15 Nov 2007 18:22:38 -0000 To: derby-commits@db.apache.org From: djd@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20071115182239.3B7F21A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: djd Date: Thu Nov 15 10:22:36 2007 New Revision: 595385 URL: http://svn.apache.org/viewvc?rev=595385&view=rev Log: Fix array out of bounds exception when submitting a new order transaction due to setting the invalid item identifier at the incorrect position in the array. Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/system/oe/client/Submitter.java Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/system/oe/client/Submitter.java URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/system/oe/client/Submitter.java?rev=595385&r1=595384&r2=595385&view=diff ============================================================================== --- db/derby/code/trunk/java/testing/org/apache/derbyTesting/system/oe/client/Submitter.java (original) +++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/system/oe/client/Submitter.java Thu Nov 15 10:22:36 2007 @@ -405,7 +405,7 @@ // Section 2.4.1.4 if (forRollback) { - items[orderItemCount] = 2334432; + items[orderItemCount - 1] = 2334432; } ops.newOrder(display, displayData,