From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20473 invoked by alias); 25 Jun 2008 00:43:17 -0000 Received: (qmail 20465 invoked by uid 22791); 25 Jun 2008 00:43:16 -0000 X-Spam-Check-By: sourceware.org Received: from brmea-mail-2.Sun.COM (HELO brmea-mail-2.sun.com) (192.18.98.43) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 25 Jun 2008 00:42:55 +0000 Received: from fe-amer-10.sun.com ([192.18.109.80]) by brmea-mail-2.sun.com (8.13.6+Sun/8.12.9) with ESMTP id m5P0gsHt021492 for ; Wed, 25 Jun 2008 00:42:54 GMT Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) id <0K2Z00J01TRM3100@mail-amer.sun.com> (original mail from David.Herron@Sun.COM) for mauve-discuss@sources.redhat.com; Tue, 24 Jun 2008 18:42:53 -0600 (MDT) Received: from dhcp-usca22-161-63.SFBay.Sun.COM ([129.145.161.63]) by mail-amer.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTPSA id <0K2Z00GB9TZ9D0A0@mail-amer.sun.com> for mauve-discuss@sources.redhat.com; Tue, 24 Jun 2008 18:42:53 -0600 (MDT) Date: Wed, 25 Jun 2008 00:43:00 -0000 From: David Herron Subject: Am I doing something wrong? To: mauve-discuss@sources.redhat.com Message-id: <4861947D.7070705@sun.com> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7BIT User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421) X-IsSubscribed: yes Mailing-List: contact mauve-discuss-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: mauve-discuss-owner@sourceware.org X-SW-Source: 2008-q2/txt/msg00004.txt.bz2 Just to try out Mauve I'm running it on my OS X machine with Apple's Java. ./configure --with-vm=/Library/Java/Home/bin/java make java Harness -verbose -showpasses -compile -vm java gnu.testlet I figure since y'all haven't changed Harness.java in 2 yrs (to any significant change) that it must be working fine and that there's some kind of driver error on my part. I get a bunch of messages saying FAIL: One of the dependencies failed to compile Then it throws this:- Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: -48 at java.lang.AbstractStringBuilder.setLength(AbstractStringBuilder.java:146) at java.lang.StringBuffer.setLength(StringBuffer.java:154) at Harness.processFolder(Harness.java:1123) at Harness.processFolder(Harness.java:1153) at Harness.processFolder(Harness.java:1153) at Harness.processTest(Harness.java:899) at Harness.runAllTests(Harness.java:706) at Harness.main(Harness.java:184) ---> sb.setLength(sb.length() - fullPath.length() - 1); So that calculation is going negative, and inserting println's I see sb.length() is 0 ... I changed that to something like this sb.setLength( (sb.length() - fullPath.length() - 1) > 0 ? sb.length() - fullPath.length() - 1 : 0 ); And then this failed (line 1208) nextTest = nextTest.substring(0, nextTest.length() - 5);