public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* libgcj/10009: StringBuffer.getChars broken
@ 2003-03-09 17:16 pifpafpuf
0 siblings, 0 replies; only message in thread
From: pifpafpuf @ 2003-03-09 17:16 UTC (permalink / raw)
To: gcc-gnats
>Number: 10009
>Category: libgcj
>Synopsis: StringBuffer.getChars broken
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Mar 09 17:16:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: pifpafpuf@gmx.de
>Release: gcj-3.2 (debian 1:3.2.1ds2-0pre3)
>Organization:
>Environment:
Linux
>Description:
The following throws an expection about index out of range
but should not.
public class Gbug {
public static void main(String argv[]) {
char ary[] = new char[10];
StringBuffer sb = new StringBuffer("abc");
sb.getChars(0, sb.length(), ary, 7);
}
}
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-03-09 17:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-09 17:16 libgcj/10009: StringBuffer.getChars broken pifpafpuf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).