This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

libgcj/6183: BufferedByteOutputStream doesn't handle InterruptedIOException correctly



>Number:         6183
>Category:       libgcj
>Synopsis:       BufferedByteOutputStream doesn't handle InterruptedIOException correctly
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 04 16:16:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     mark@klomp.org
>Release:        unknown-1.0
>Organization:
>Environment:

>Description:
The mauve test for BufferedByteOutputStream.interrupt fails since the BufferedByteOutputStream does not handle a InterruptedIOException in the underlying stream correctly.

Tom Tromey writes:
I think I wrote this test.  It is pretty optimistic.  I seem to recall
general agreement that InterruptedIOException couldn't really be
relied on, since even Sun didn't fully implement it on all platforms.

The test has been added to the xfails list of the libjava.mauve testsuite.
>How-To-Repeat:
In your configured and compiled mauve obj dir do:
echo gnu.testlet.java.io.BufferedByteOutputStream.interrupt | ./SimpleTestHarness
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]