6955504: (str) String[Builder/Buffer].append(char[], int, int) throws OutOfMemoryError in b94

Martin Buchholz martinrb at google.com
Mon Aug 2 21:52:05 UTC 2010


Hi Chris (or others),

Here's a fix for a little bug I introduced in jdk7-b94

http://bugs.sun.com/view_bug.do?bug_id=6955504
6955504: (str) String[Builder/Buffer].append(char[],int,int) throws
OutOfMemoryError in b94
http://cr.openjdk.java.net/~martin/webrevs/openjdk7/oome2aioobe/

I couldn't resist sneaking in a little optimization.

I'm a little disappointed that I broke a JCK test, but that this was not
noticed by openjdk QA until several builds later.  I'm thinking it's part of
the job of integrators to ensure __NO__REGRESSIONS__ and that includes jck
tests (which are much easier for integrators to run than for external
contributors).

Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/core-libs-dev/attachments/20100802/5b81a9aa/attachment.html>


More information about the core-libs-dev mailing list