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

Brent Christian brent.christian at oracle.com
Mon Apr 13 22:49:28 UTC 2015


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