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/