Please review: surrogate fiddle

Mike Duigou mike.duigou at oracle.com
Mon Mar 18 22:08:45 UTC 2013


This change would seem to change the result when a high surrogate is the last char in the String/StringBuilder/StringBuffer.

Rather than throwing an ArrayIndexException it will return the high surrogate char.

I am going to defer to Sherman on this. I don't know that returning the character is the right thing to do. 

Sherman?

Mike

On Mar 18 2013, at 14:28 , Martin Buchholz wrote:

> Hello Jim, Mike,
> 
> I'd like you to do a code review:
> 
> http://cr.openjdk.java.net/~martin/webrevs/openjdk8/surrogate-fiddle/




More information about the core-libs-dev mailing list