public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* libgcj/2696: IO classes ignore InterruptedIOException
@ 2001-04-30 10:36 tromey
  0 siblings, 0 replies; only message in thread
From: tromey @ 2001-04-30 10:36 UTC (permalink / raw)
  To: gcc-gnats

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


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

only message in thread, other threads:[~2001-04-30 10:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-30 10:36 libgcj/2696: IO classes ignore InterruptedIOException tromey

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