public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* libgcj/1236: java::io::FileDescriptor::available throws exception
@ 2000-12-20 12:22 gfa
  0 siblings, 0 replies; only message in thread
From: gfa @ 2000-12-20 12:22 UTC (permalink / raw)
  To: java-gnats

>Number:         1236
>Category:       libgcj
>Synopsis:       java::io::FileDescriptor::available throws exception
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    java-hacker
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 20 12:18:05 PST 2000
>Closed-Date:    Sat Nov 06 21:36:47 PST 1999
>Last-Modified:  Sat Nov  6 21:40:00 PST 1999
>Originator:     George Fankhauser
>Release:        2.95
>Organization:
>Environment:
Linux 2.2	
>Description:
            if (System.in.available() > 0) {
                  System.in.read(...);

throws

java.io.IOException (Bad file descriptor)

same code works on same platform with jdk 1.1.7

>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:

Formerly PR libgcj/20

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 ----------------------------------------------
State-Changed-From-To: analyzed->closed
State-Changed-By: green
State-Changed-When: Sat Nov  6 21:36:47 1999
State-Changed-Why:
    We're unable to reproduce this problem with the latest
    development sources.

From: green@cygnus.com
To: gfa@acm.org, green@cygnus.com, java-gnats@sourceware.cygnus.com
Cc:  
Subject: Re: libgcj/20
Date: 7 Nov 1999 05:36:47 -0000

 Synopsis: java::io::FileDescriptor::available throws exception
 
 State-Changed-From-To: analyzed->closed
 State-Changed-By: green
 State-Changed-When: Sat Nov  6 21:36:47 1999
 State-Changed-Why:
     We're unable to reproduce this problem with the latest
     development sources.
 
 http://sourceware.cygnus.com/cgi-bin/gnatsweb.pl?cmd=view&database=java&pr=20
>Unformatted:



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-12-20 12:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-20 12:22 libgcj/1236: java::io::FileDescriptor::available throws exception gfa

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).