harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Liang (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-1216) [classlib][luni] java.io.PipedWriter.write(char[],int,int) method should throw IOException when the corresponding thread which is reading data is no longer alive
Date Fri, 18 Aug 2006 01:59:15 GMT
    [ http://issues.apache.org/jira/browse/HARMONY-1216?page=comments#action_12428861 ] 
            
Richard Liang commented on HARMONY-1216:
----------------------------------------

Hello Mark,

I use Eclipse on RHEL 4.0 to create this patch. And the two line of comments are added manually.
But the patch can be applied successfully in my Eclipse. What problems have you met? Sorry.

PS. The fix looks good. Thanks a lot.

Best regards,
Richard

> [classlib][luni] java.io.PipedWriter.write(char[],int,int) method should throw IOException
when the corresponding thread which is reading data is no longer alive
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-1216
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1216
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Richard Liang
>         Assigned To: Mark Hindess
>         Attachments: Harmony-1216.diff
>
>
> Hello,
> java.io.PipedWriter.write(char[],int,int) method should throw IOException when the corresponding
thread which is reading data is no longer alive.(Spec about PipedWriter.write(char[],int,int):
If a thread was reading data characters from the connected piped input stream, but the thread
is no longer alive, then an IOException is thrown.) When study this problem, I find the original
problem hides in the PipedReader.receive(char[],int,int) method.There is the same problem
in the PipedWriter.write(int) method. 
> I will attach a patch to fix this issue.
> Best regards,
> Richard

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message