libgcj/2696: IO classes ignore InterruptedIOException
tromey@redhat.com
tromey@redhat.com
Mon Apr 30 10:36:00 GMT 2001
>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:
More information about the Gcc-prs
mailing list