Code review request for 6992121: StringBuilder.ensureCapacity(int minCap) throws OutOfMemoryError
Alan Bateman
Alan.Bateman at oracle.com
Tue Oct 19 11:09:07 UTC 2010
Mandy Chung wrote:
> :
> I missed the Vector.capacity() method. Thanks. I updated the test.
> http://cr.openjdk.java.net/~mchung/6992121/webrev.01/
If you want another reviewer, then the fix looks good to me.
Minor nit, but it might be better to name the tests EnsureCapacity
rather than TestEnsureCapacity, just to keep the naming convention
locally consistent.
-Alan.
More information about the core-libs-dev
mailing list