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

Alan Bateman Alan.Bateman at oracle.com
Tue Apr 14 07:10:45 UTC 2015

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.


More information about the core-libs-dev mailing list