harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Catherine Hope (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-6293) [classlib][luni] PipedWriter.flush should throw IOException if pipe is closed (Java 6 only)
Date Wed, 05 Aug 2009 16:04:14 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-6293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Catherine Hope updated HARMONY-6293:
------------------------------------

    Attachment: 6293-patch.txt

To be committed to Java 6 branch

Changes: 
PipedWriter.flush() now throws IOException if pipe has been previously closed
PipedReader.flush() (not an exposed method) now throws IOException if pipe has been closed
PipedReader.close() wasn't setting the isClosed variable to true
PipedWriterTest new test test_flushAfterClose that closes a PipedWriter then tries to flush
it, and then repeats this with a PipedWriter constructed from a PipedReader and closing the
reader (the RI throws the same IOException with closed pipe message in this case)

> [classlib][luni] PipedWriter.flush should throw IOException if pipe is closed (Java 6
only)
> -------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-6293
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6293
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: All
>            Reporter: Catherine Hope
>            Priority: Minor
>         Attachments: 6293-patch.txt
>
>
> PipedWriter.flush should throw an IOException if called on a pipe that's already been
closed.  This is specified in the Java 6 API only.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message