From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Tromey To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org Subject: Re: java/3426: java.io.InputStreamReader, infinite loop Date: Thu, 12 Jul 2001 22:36:00 -0000 Message-id: <20010713053601.9975.qmail@sourceware.cygnus.com> X-SW-Source: 2001-07/msg00363.html List-Id: The following reply was made to PR libgcj/3426; it has been noted by GNATS. From: Tom Tromey To: David Brownell Cc: gcc-gnats@gcc.gnu.org Subject: Re: java/3426: java.io.InputStreamReader, infinite loop Date: 12 Jul 2001 23:56:35 -0600 >>>>> "David" == David Brownell writes: David> Didn't quite do it ... two bugs: inverting status of refill() David> once too many, and not initializing "work". Sorry about all the follow-ups. I decided to initialize `work' in the `refill' method. I also used a smaller buffer size. This is more in keeping with the original code. (I don't know what tradeoffs, if any, resulted in the number 100 being used. Bummer.) Tom