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

Brent Christian brent.christian at oracle.com
Fri Apr 17 20:09:58 UTC 2015


On 4/14/15 12:10 AM, Alan Bateman wrote:
> On 13/04/2015 23:49, Brent Christian 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.
> This looks okay. Do you have cycles to check if there are any more of
> these? It seems that every few years we find more cases where we have
> missed the inheritDoc.

I'll see if I can find some time to check around.

Thanks,
-Brent




More information about the core-libs-dev mailing list