RFR 9: 8048264 : StringBuffer's codePoint methods throw unspecified IndexOutOfBoundsException

Brent Christian brent.christian at oracle.com
Mon Apr 13 22:55:30 UTC 2015


Thanks, Lance.  My next stop is the CCC. :)

-Brent

On 4/13/15 3:53 PM, Lance @ Oracle wrote:
> Hi Brent,
>
> This looks fine
>
> You might need to fast track a CCC request even though this is minor
>
> Best
> Lance
>
>
> <http://oracle.com/us/design/oracle-email-sig-198324.gif>Lance Andersen|
> Principal Member of Technical Staff | +1.781.442.2037 <tel:+1.781.442.2037>
> Oracle Java Engineering
> 1 Network Drive <x-apple-data-detectors://34/0>
> Burlington, MA 01803 <x-apple-data-detectors://34/0>
> Lance.Andersen at oracle.com <mailto:Lance.Andersen at oracle.com>
> Sent from my iPad
>
> On Apr 13, 2015, at 6:49 PM, Brent Christian <brent.christian at oracle.com
> <mailto:brent.christian at oracle.com>> wrote:
>
>> Hello,
>>
>> Please review this small javadoc change.
>>
>> It was discovered that some codePoint-related methods in StringBuffer
>> are missing documentation for throwing IndexOutOfBoundsException.  The
>> methods are:
>>
>>  codePointAt(int)
>>  codePointBefore(int)
>>  codePointCount(int,int)
>>  offsetByCodePoints(int,int)
>>
>> The StringBuilder JavaDoc does have @throws tags for those methods.
>>
>> Bug:
>> https://bugs.openjdk.java.net/browse/JDK-8048264
>> Webrev+specdiff:
>> http://cr.openjdk.java.net/~bchristi/8048264/webrev.0/
>>
>> Thanks,
>> -Brent



More information about the core-libs-dev mailing list