This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
libgcj/2696: IO classes ignore InterruptedIOException
- To: gcc-gnats at gcc dot gnu dot org
- Subject: libgcj/2696: IO classes ignore InterruptedIOException
- From: tromey at redhat dot com
- Date: 30 Apr 2001 17:35:32 -0000
- Reply-To: tromey at redhat dot com
>Number: 2696
>Category: libgcj
>Synopsis: IO classes ignore InterruptedIOException
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Apr 30 10:36:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Tom Tromey
>Release: unknown-1.0
>Organization:
>Environment:
>Description:
Right now, all our IO classes ignore
InterruptedIOException -- they simply let it pass
to the caller.
This is probably wrong. For instance, a buffered
write (or any read) operation should notice
InterruptedIOException and update its data structures
appropriately.
Then the exception should be re-thrown. One issue to
consider is whether the bytesTransferred should be
updated as well. I think it should.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: