You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by hi...@apache.org on 2010/09/14 22:30:29 UTC

svn commit: r997081 - /harmony/enhanced/java/trunk/classlib/modules/luni/src/main/java/java/lang/Character.java

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++);