public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: gfa@acm.org
To: java-gnats@sourceware.cygnus.com
Subject: libgcj/1236: java::io::FileDescriptor::available throws exception
Date: Wed, 20 Dec 2000 12:22:00 -0000	[thread overview]
Message-ID: <19990807140721.1617.qmail@egcs.cygnus.com> (raw)

>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:



                 reply	other threads:[~2000-12-20 12:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=19990807140721.1617.qmail@egcs.cygnus.com \
    --to=gfa@acm.org \
    --cc=java-gnats@sourceware.cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).