From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4185 invoked by alias); 9 Mar 2003 17:16:00 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 4158 invoked by uid 71); 9 Mar 2003 17:16:00 -0000 Resent-Date: 9 Mar 2003 17:16:00 -0000 Resent-Message-ID: <20030309171600.4156.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org, java-prs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, pifpafpuf@gmx.de Received: (qmail 2294 invoked by uid 48); 9 Mar 2003 17:11:43 -0000 Message-Id: <20030309171143.2274.qmail@sources.redhat.com> Date: Sun, 09 Mar 2003 17:16:00 -0000 From: pifpafpuf@gmx.de Reply-To: pifpafpuf@gmx.de To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: libgcj/10009: StringBuffer.getChars broken X-SW-Source: 2003-03/txt/msg00432.txt.bz2 List-Id: >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: