public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/20389] New: Buff
@ 2005-03-08 21:16 daney at gcc dot gnu dot org
2005-03-08 21:23 ` [Bug libgcj/20389] Buffere daney at gcc dot gnu dot org
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: daney at gcc dot gnu dot org @ 2005-03-08 21:16 UTC (permalink / raw)
To: java-prs
--
Summary: Buff
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: libgcj
AssignedTo: daney at gcc dot gnu dot org
ReportedBy: daney at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20389
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug libgcj/20389] Buffere
2005-03-08 21:16 [Bug libgcj/20389] New: Buff daney at gcc dot gnu dot org
@ 2005-03-08 21:23 ` daney at gcc dot gnu dot org
2005-03-08 21:32 ` [Bug libgcj/20389] BufferedInputStream gets ArrayIndexOutOfBoundsExeception daney at gcc dot gnu dot org
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: daney at gcc dot gnu dot org @ 2005-03-08 21:23 UTC (permalink / raw)
To: java-prs
--
What |Removed |Added
----------------------------------------------------------------------------
Summary|Buff |Buffere
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20389
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug libgcj/20389] BufferedInputStream gets ArrayIndexOutOfBoundsExeception
2005-03-08 21:16 [Bug libgcj/20389] New: Buff daney at gcc dot gnu dot org
2005-03-08 21:23 ` [Bug libgcj/20389] Buffere daney at gcc dot gnu dot org
@ 2005-03-08 21:32 ` daney at gcc dot gnu dot org
2005-03-09 0:16 ` daney at gcc dot gnu dot org
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: daney at gcc dot gnu dot org @ 2005-03-08 21:32 UTC (permalink / raw)
To: java-prs
------- Additional Comments From daney at gcc dot gnu dot org 2005-03-08 21:13 -------
I will attach a testcase.
I also have a tentative patch and Mauve test that I will submit shortly.
--
What |Removed |Added
----------------------------------------------------------------------------
GCC build triplet| |i686-pc-linux
GCC host triplet| |i686-pc-linux
GCC target triplet| |i686-pc-linux
Known to fail| |4.0.0 4.1.0
Known to work| |3.4.3
Summary|Buffere |BufferedInputStream gets
| |ArrayIndexOutOfBoundsExecept
| |ion
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20389
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug libgcj/20389] BufferedInputStream gets ArrayIndexOutOfBoundsExeception
2005-03-08 21:16 [Bug libgcj/20389] New: Buff daney at gcc dot gnu dot org
2005-03-08 21:23 ` [Bug libgcj/20389] Buffere daney at gcc dot gnu dot org
2005-03-08 21:32 ` [Bug libgcj/20389] BufferedInputStream gets ArrayIndexOutOfBoundsExeception daney at gcc dot gnu dot org
@ 2005-03-09 0:16 ` daney at gcc dot gnu dot org
2005-03-09 4:38 ` [Bug libgcj/20389] [4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: daney at gcc dot gnu dot org @ 2005-03-09 0:16 UTC (permalink / raw)
To: java-prs
------- Additional Comments From daney at gcc dot gnu dot org 2005-03-08 21:16 -------
Created an attachment (id=8367)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8367&action=view)
Testcase
As shown in the testcase, a series of marks and reads can cause either
ArrayIndexOutOfBoundsException or erroneous EOF.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20389
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug libgcj/20389] [4.0/4.1 Regression] BufferedInputStream gets ArrayIndexOutOfBoundsExeception
2005-03-08 21:16 [Bug libgcj/20389] New: Buff daney at gcc dot gnu dot org
` (2 preceding siblings ...)
2005-03-09 0:16 ` daney at gcc dot gnu dot org
@ 2005-03-09 4:38 ` pinskia at gcc dot gnu dot org
2005-03-09 5:31 ` daney at gcc dot gnu dot org
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-09 4:38 UTC (permalink / raw)
To: java-prs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-08 21:23 -------
Confirmed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Known to work|3.4.3 |3.4.3 3.3.3
Last reconfirmed|0000-00-00 00:00:00 |2005-03-08 21:23:11
date| |
Summary|BufferedInputStream gets |[4.0/4.1 Regression]
|ArrayIndexOutOfBoundsExecept|BufferedInputStream gets
|ion |ArrayIndexOutOfBoundsExecept
| |ion
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20389
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug libgcj/20389] [4.0/4.1 Regression] BufferedInputStream gets ArrayIndexOutOfBoundsExeception
2005-03-08 21:16 [Bug libgcj/20389] New: Buff daney at gcc dot gnu dot org
` (3 preceding siblings ...)
2005-03-09 4:38 ` [Bug libgcj/20389] [4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
@ 2005-03-09 5:31 ` daney at gcc dot gnu dot org
2005-03-09 8:07 ` daney at gcc dot gnu dot org
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: daney at gcc dot gnu dot org @ 2005-03-09 5:31 UTC (permalink / raw)
To: java-prs
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Last reconfirmed|2005-03-08 21:23:11 |2005-03-08 21:32:28
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20389
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug libgcj/20389] [4.0/4.1 Regression] BufferedInputStream gets ArrayIndexOutOfBoundsExeception
2005-03-08 21:16 [Bug libgcj/20389] New: Buff daney at gcc dot gnu dot org
` (4 preceding siblings ...)
2005-03-09 5:31 ` daney at gcc dot gnu dot org
@ 2005-03-09 8:07 ` daney at gcc dot gnu dot org
2005-03-09 22:44 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: daney at gcc dot gnu dot org @ 2005-03-09 8:07 UTC (permalink / raw)
To: java-prs
------- Additional Comments From daney at gcc dot gnu dot org 2005-03-09 00:16 -------
Patch posted here:
http://gcc.gnu.org/ml/java-patches/2005-q1/msg00669.html
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |patch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20389
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug libgcj/20389] [4.0/4.1 Regression] BufferedInputStream gets ArrayIndexOutOfBoundsExeception
2005-03-08 21:16 [Bug libgcj/20389] New: Buff daney at gcc dot gnu dot org
` (5 preceding siblings ...)
2005-03-09 8:07 ` daney at gcc dot gnu dot org
@ 2005-03-09 22:44 ` cvs-commit at gcc dot gnu dot org
2005-03-10 0:09 ` cvs-commit at gcc dot gnu dot org
2005-03-10 0:53 ` pinskia at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-03-09 22:44 UTC (permalink / raw)
To: java-prs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-03-09 21:20 -------
Subject: Bug 20389
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-4_0-branch
Changes by: daney@gcc.gnu.org 2005-03-09 21:20:44
Modified files:
libjava : ChangeLog
libjava/java/io: BufferedInputStream.java InputStreamReader.java
Log message:
2005-03-09 David Daney <ddaney@avtrex.com>
PR libgcj/20389
Merge BufferedInputStream from GNU Classpath.
* java/io/BufferedInputStream.java (marktarget): Field removed.
(CHUNKSIZE): Field removed.
(bufferSize): New field.
(BufferedInputStream): Initialize fields.
(close): Invalidate mark and buffer indexes.
(mark): Rewritten.
(read()): Move mark handling code to refill.
(read(byte[], int, int)): Ditto.
(skip): Ditto and simplify EOF testing.
(refill): Rewritten.
* java/io/InputStreamReader.java (refill): Removed mark and reset
of internal BufferedInputStream.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.3391.2.9&r2=1.3391.2.10
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/java/io/BufferedInputStream.java.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.11&r2=1.11.10.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/java/io/InputStreamReader.java.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.18&r2=1.18.2.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20389
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug libgcj/20389] [4.0/4.1 Regression] BufferedInputStream gets ArrayIndexOutOfBoundsExeception
2005-03-08 21:16 [Bug libgcj/20389] New: Buff daney at gcc dot gnu dot org
` (6 preceding siblings ...)
2005-03-09 22:44 ` cvs-commit at gcc dot gnu dot org
@ 2005-03-10 0:09 ` cvs-commit at gcc dot gnu dot org
2005-03-10 0:53 ` pinskia at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-03-10 0:09 UTC (permalink / raw)
To: java-prs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-03-09 22:11 -------
Subject: Bug 20389
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: daney@gcc.gnu.org 2005-03-09 22:11:34
Modified files:
libjava : ChangeLog
libjava/java/io: BufferedInputStream.java InputStreamReader.java
Log message:
2005-03-09 David Daney <ddaney@avtrex.com>
PR libgcj/20389
Merge BufferedInputStream from GNU Classpath.
* java/io/BufferedInputStream.java (marktarget): Field removed.
(CHUNKSIZE): Field removed.
(bufferSize): New field.
(BufferedInputStream): Initialize fields.
(close): Invalidate mark and buffer indexes.
(mark): Rewritten.
(read()): Move mark handling code to refill.
(read(byte[], int, int)): Ditto.
(skip): Ditto and simplify EOF testing.
(refill): Rewritten.
* java/io/InputStreamReader.java (refill): Removed mark and reset
of internal BufferedInputStream.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/ChangeLog.diff?cvsroot=gcc&r1=1.3406&r2=1.3407
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/java/io/BufferedInputStream.java.diff?cvsroot=gcc&r1=1.11&r2=1.12
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/java/io/InputStreamReader.java.diff?cvsroot=gcc&r1=1.18&r2=1.19
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20389
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug libgcj/20389] [4.0/4.1 Regression] BufferedInputStream gets ArrayIndexOutOfBoundsExeception
2005-03-08 21:16 [Bug libgcj/20389] New: Buff daney at gcc dot gnu dot org
` (7 preceding siblings ...)
2005-03-10 0:09 ` cvs-commit at gcc dot gnu dot org
@ 2005-03-10 0:53 ` pinskia at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-10 0:53 UTC (permalink / raw)
To: java-prs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-09 22:44 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20389
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2005-03-09 22:44 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-08 21:16 [Bug libgcj/20389] New: Buff daney at gcc dot gnu dot org
2005-03-08 21:23 ` [Bug libgcj/20389] Buffere daney at gcc dot gnu dot org
2005-03-08 21:32 ` [Bug libgcj/20389] BufferedInputStream gets ArrayIndexOutOfBoundsExeception daney at gcc dot gnu dot org
2005-03-09 0:16 ` daney at gcc dot gnu dot org
2005-03-09 4:38 ` [Bug libgcj/20389] [4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
2005-03-09 5:31 ` daney at gcc dot gnu dot org
2005-03-09 8:07 ` daney at gcc dot gnu dot org
2005-03-09 22:44 ` cvs-commit at gcc dot gnu dot org
2005-03-10 0:09 ` cvs-commit at gcc dot gnu dot org
2005-03-10 0:53 ` pinskia at gcc dot gnu dot org
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).