Bug#6546113 StringCharBuffer fix
roman.kennke at aicas.com
Mon Mar 10 22:34:57 UTC 2008
better late than never. Here's the revised patch for the
StringCharBuffer, fixing the following bug:
> > >>> http://bugs.sun.com/view_bug.do?bug_id=6546113
> > Unfortunately, the bug wasn't caught by existing tests
> > so one thing that would be good to do as part of 6546113 is to add or
> > improve the regression tests for char buffers that wrap a char sequence.
> > Are you interested in doing that as part of the fix to this bug?
I added a couple of tests. See the attached patch.
> > Anyway,
> > your changes look like a reasonable fix for the get methods. Did you
> > check the toString, subSequence, and duplicate methods in case they have
> > the same problem?
I checked them (and added tests), and yes, they have the same problem.
Fixed in this revised patch.
Dipl.-Inform. (FH) Roman Kennke, Software Engineer, http://kennke.org
aicas Allerton Interworks Computer Automated Systems GmbH
Haid-und-Neu-Straße 18 * D-76131 Karlsruhe * Germany
http://www.aicas.com * Tel: +49-721-663 968-0
USt-Id: DE216375633, Handelsregister HRB 109481, AG Karlsruhe
Geschäftsführer: Dr. James J. Hunt
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4570 bytes
Desc: not available
More information about the core-libs-dev