libgcj/20

green@cygnus.com green@cygnus.com
Sun Aug 8 19:31:00 GMT 1999


Synopsis: java::io::FileDescriptor::available throws exception

Responsible-Changed-From-To: apbianco->java-hacker
Responsible-Changed-By: green
Responsible-Changed-When: Sun Aug  8 19:31:02 1999
Responsible-Changed-Why:
    This probably isn't a compiler problem.
State-Changed-From-To: open->analyzed
State-Changed-By: green
State-Changed-When: Sun Aug  8 19:31:02 1999
State-Changed-Why:
    I've tried the following and wasn't able to reproduce the
    problem.  Could you please try running some input through
    this program?  If this doesn't reproduce the problem,
    could you provide a full example?  Thanks.
    ---- cut here ----------------------------------------------
    import java.io.*;
    
    class pr20
    {
       public static void main (String[] args) 
          throws IOException
        {
            if (System.in.available() > 0) 
                System.out.println(System.in.read());
        }
    }
    ---- cut here ----------------------------------------------

http://sourceware.cygnus.com/cgi-bin/gnatsweb.pl?cmd=view&database=java&pr=20


More information about the Java-prs mailing list