[Kaffe] bug in InputStream.available() method

Archie Cobbs archie at whistle.com
Mon Dec 28 16:33:39 PST 1998


Moses DeJong writes:
> Here is a simple "echo" type of program that fails under
> kaffe (off a fresh CVS tree). The System.in.available()
> method seems to be returning -1 when there are 0 bytes
> available. This same code works just find under a Sun JDK.
> I was running under solaris-sparc2.6 and I compiled with gcc.

I believe Eduoard's patch fixes this.. try with the latest code.
Thanks for the bug report.

-Archie

___________________________________________________________________________
Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com


More information about the kaffe mailing list