From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1015 invoked by alias); 13 Jul 2007 16:04:28 -0000 Received: (qmail 706 invoked by uid 22791); 13 Jul 2007 16:04:26 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 13 Jul 2007 16:04:22 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.1/8.13.1) with ESMTP id l6DG4KDq010101 for ; Fri, 13 Jul 2007 12:04:20 -0400 Received: from pobox.toronto.redhat.com (pobox.toronto.redhat.com [172.16.14.4]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l6DG4Jqp005588 for ; Fri, 13 Jul 2007 12:04:19 -0400 Received: from to-dhcp16.toronto.redhat.com (to-dhcp16.toronto.redhat.com [172.16.14.116]) by pobox.toronto.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id l6DG4J98016915 for ; Fri, 13 Jul 2007 12:04:19 -0400 Message-ID: <4697A283.9080305@redhat.com> Date: Fri, 13 Jul 2007 16:04:00 -0000 From: Joshua Sumali User-Agent: Thunderbird 2.0.0.4 (X11/20070615) MIME-Version: 1.0 To: mauve-patches@sources.redhat.com Subject: FYI: Test Fix Content-Type: multipart/mixed; boundary="------------040605050001040103020406" X-IsSubscribed: yes Mailing-List: contact mauve-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: mauve-patches-owner@sourceware.org X-SW-Source: 2007/txt/msg00047.txt.bz2 This is a multi-part message in MIME format. --------------040605050001040103020406 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-length: 336 This patch fixed an incorrect test in gnu/testlet/java/util/GregorianCalendar/internal.java The test needed an extra else if conditional that it was missing. It now passes on openJDK. 2007-07-13 Joshua Sumali * gnu/testlet/java/util/GregorianCalendar/internal.java (test): Fixed incorrect test. --------------040605050001040103020406 Content-Type: text/x-patch; name="patch.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="patch.diff" Content-length: 911 #P mauve Index: gnu/testlet/java/util/GregorianCalendar/internal.java =================================================================== RCS file: /cvs/mauve/mauve/gnu/testlet/java/util/GregorianCalendar/internal.java,v retrieving revision 1.1 diff -u -r1.1 internal.java --- gnu/testlet/java/util/GregorianCalendar/internal.java 18 Apr 2007 15:56:05 -0000 1.1 +++ gnu/testlet/java/util/GregorianCalendar/internal.java 13 Jul 2007 15:36:44 -0000 @@ -394,15 +394,17 @@ if (setOrder[i] == Calendar.WEEK_OF_YEAR) { // YEAR + DAY_OF_WEEK + WEEK_OF_YEAR - // (the rest) expectTime = 1176361200000L; } - else + else if (setOrder[i] == Calendar.WEEK_OF_MONTH) { // YEAR + MONTH + WEEK_OF_MONTH + DAY_OF_WEEK - // (some of them) expectTime = 1177570800000L; } + else { + // rest of them + expectTime = 1178175600000L; + } break; } } --------------040605050001040103020406--