RFR 9: 8048264 : StringBuffer's codePoint methods throw unspecified IndexOutOfBoundsException
Lance @ Oracle
lance.andersen at oracle.com
Mon Apr 13 22:53:32 UTC 2015
Hi Brent,
This looks fine
You might need to fast track a CCC request even though this is minor
Best
Lance
Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037
Oracle Java Engineering
1 Network Drive
Burlington, MA 01803
Lance.Andersen at oracle.com
Sent from my iPad
> On Apr 13, 2015, at 6:49 PM, Brent Christian <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