Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 82475 invoked from network); 14 Sep 2010 20:30:51 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 14 Sep 2010 20:30:51 -0000 Received: (qmail 63711 invoked by uid 500); 14 Sep 2010 20:30:51 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 63645 invoked by uid 500); 14 Sep 2010 20:30:50 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 63622 invoked by uid 99); 14 Sep 2010 20:30:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Sep 2010 20:30:50 +0000 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; Tue, 14 Sep 2010 20:30:49 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 5BC6A23889DA; Tue, 14 Sep 2010 20:30:29 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r997081 - /harmony/enhanced/java/trunk/classlib/modules/luni/src/main/java/java/lang/Character.java Date: Tue, 14 Sep 2010 20:30:29 -0000 To: commits@harmony.apache.org From: hindessm@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100914203029.5BC6A23889DA@eris.apache.org> Author: hindessm Date: Tue Sep 14 20:30:28 2010 New Revision: 997081 URL: http://svn.apache.org/viewvc?rev=997081&view=rev Log: Fixing "[#HARMONY-6648] Character.codePointAt exception differences" as it isn't unreasonable to be compatible with the RI in this case. See also http://markmail.org/message/7s6533mswansmnm3 Modified: harmony/enhanced/java/trunk/classlib/modules/luni/src/main/java/java/lang/Character.java Modified: harmony/enhanced/java/trunk/classlib/modules/luni/src/main/java/java/lang/Character.java URL: http://svn.apache.org/viewvc/harmony/enhanced/java/trunk/classlib/modules/luni/src/main/java/java/lang/Character.java?rev=997081&r1=997080&r2=997081&view=diff ============================================================================== --- harmony/enhanced/java/trunk/classlib/modules/luni/src/main/java/java/lang/Character.java (original) +++ harmony/enhanced/java/trunk/classlib/modules/luni/src/main/java/java/lang/Character.java Tue Sep 14 20:30:28 2010 @@ -2184,7 +2184,7 @@ public final class Character implements } int len = seq.length(); if (index < 0 || index >= len) { - throw new IndexOutOfBoundsException(); + throw new StringIndexOutOfBoundsException(index); } char high = seq.charAt(index++);