Re: Bug in java.nio.StringCharBuffer.slice

2010-11-17 Thread Alan Bateman
John Platts wrote: Here is the current implementation of slice in java.nio.StringCharBuffer (as found in OpenJDK 7): 44 public CharBuffer slice() { 45 return new StringCharBuffer(str, 46 -1, 47 0, 48

Bug in java.nio.StringCharBuffer.slice

2010-11-17 Thread John Platts
Here is the current implementation of slice in java.nio.StringCharBuffer (as found in OpenJDK 7): 44 public CharBuffer slice() { 45 return new StringCharBuffer(str, 46 -1, 47 0, 48