Return-Path: Delivered-To: apmail-db-derby-commits-archive@www.apache.org Received: (qmail 70945 invoked from network); 6 Nov 2008 22:22:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Nov 2008 22:22:53 -0000 Received: (qmail 57906 invoked by uid 500); 6 Nov 2008 22:23:00 -0000 Delivered-To: apmail-db-derby-commits-archive@db.apache.org Received: (qmail 57880 invoked by uid 500); 6 Nov 2008 22:23:00 -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 57871 invoked by uid 99); 6 Nov 2008 22:23:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Nov 2008 14:23:00 -0800 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.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Nov 2008 22:21:50 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id F07BD2388961; Thu, 6 Nov 2008 14:22:32 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r711992 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/BaseTestCase.java Date: Thu, 06 Nov 2008 22:22:31 -0000 To: derby-commits@db.apache.org From: kmarsden@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20081106222232.F07BD2388961@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: kmarsden Date: Thu Nov 6 14:22:27 2008 New Revision: 711992 URL: http://svn.apache.org/viewvc?rev=711992&view=rev Log: DERBY-3840 The test code executes java processes by just executing java instead of using a full path. This may cause the wrong java to be picked up. fixed one missed case in execJavaCmd Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/BaseTestCase.java Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/BaseTestCase.java URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/BaseTestCase.java?rev=711992&r1=711991&r2=711992&view=diff ============================================================================== --- db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/BaseTestCase.java (original) +++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/BaseTestCase.java Thu Nov 6 14:22:27 2008 @@ -468,7 +468,7 @@ public Process execJavaCmd(String[] cmd) throws IOException { int totalSize = 3 + cmd.length; String[] tcmd = new String[totalSize]; - tcmd[0] = "java"; + tcmd[0] = getJavaExecutableName(); tcmd[1] = "-classpath"; tcmd[2] = BaseTestCase.getSystemProperty("java.class.path");