[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug classpath/28984] New: java.io.InputStreamReader.read(char[], int,
From: |
jeroen at frijters dot net |
Subject: |
[Bug classpath/28984] New: java.io.InputStreamReader.read(char[], int, int) broken |
Date: |
8 Sep 2006 15:32:06 -0000 |
The following code incorrectly throws an IndexOutOfBoundsException:
import java.io.*;
public class test
{
public static void main(String[] arg) throws Exception
{
InputStreamReader rdr = new InputStreamReader(new ByteArrayInputStream(new
byte[128]), "utf-8");
char[] buf = new char[128];
rdr.read(buf, 0, 32);
rdr.read(buf, 0, 2);
}
}
--
Summary: java.io.InputStreamReader.read(char[],int,int) broken
Product: classpath
Version: 0.93
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: classpath
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jeroen at frijters dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28984
- [Bug classpath/28984] New: java.io.InputStreamReader.read(char[], int, int) broken,
jeroen at frijters dot net <=
- [Bug classpath/28984] java.io.InputStreamReader.read(char[], int, int) broken, audriusa at bluewin dot ch, 2006/09/09
- [Bug classpath/28984] java.io.InputStreamReader.read(char[], int, int) broken, jeroen at frijters dot net, 2006/09/14
- [Bug classpath/28984] java.io.InputStreamReader.read(char[], int, int) broken, cvs-commit at developer dot classpath dot org, 2006/09/14