You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Richard Liang (JIRA)" <ji...@apache.org> on 2006/08/08 09:05:13 UTC
[jira] Created: (HARMONY-1093) [classlib][luni] Problems in
java.io.PipedInputStream.receive(int)
[classlib][luni] Problems in java.io.PipedInputStream.receive(int)
------------------------------------------------------------------
Key: HARMONY-1093
URL: http://issues.apache.org/jira/browse/HARMONY-1093
Project: Harmony
Issue Type: Bug
Components: Classlib
Reporter: Richard Liang
Hello,
java.io.PipedInputStream.receive(int) will not throw IOException when the corresponding thread which is reading data is no longer alive. (Spec:If a thread was providing data bytes to the connected piped output stream, but the thread is no longer alive, then an IOException is thrown.)
I will try to attach a patch to fix this problems. Thanks a lot.
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
[jira] Resolved: (HARMONY-1093) [classlib][luni] Problems in
java.io.PipedInputStream.receive(int)
Posted by "Paulex Yang (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1093?page=all ]
Paulex Yang resolved HARMONY-1093.
----------------------------------
Resolution: Fixed
Richard, patch applied at revision r429669 with minor modifications, thanks a lot for this enhancement, please verify that the problem is fully fixed as you expected.
> [classlib][luni] Problems in java.io.PipedInputStream.receive(int)
> ------------------------------------------------------------------
>
> Key: HARMONY-1093
> URL: http://issues.apache.org/jira/browse/HARMONY-1093
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Richard Liang
> Assigned To: Paulex Yang
> Attachments: Harmony-1093.diff
>
>
> Hello,
> java.io.PipedInputStream.receive(int) will not throw IOException when the corresponding thread which is reading data is no longer alive. (Spec:If a thread was providing data bytes to the connected piped output stream, but the thread is no longer alive, then an IOException is thrown.)
> I will try to attach a patch to fix this problems. Thanks a lot.
> 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
[jira] Commented: (HARMONY-1093) [classlib][luni] Problems in
java.io.PipedInputStream.receive(int)
Posted by "Richard Liang (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1093?page=comments#action_12426842 ]
Richard Liang commented on HARMONY-1093:
----------------------------------------
Hello Paulex,
The fix looks good. Thanks a lot.
Best regards,
Richard.
> [classlib][luni] Problems in java.io.PipedInputStream.receive(int)
> ------------------------------------------------------------------
>
> Key: HARMONY-1093
> URL: http://issues.apache.org/jira/browse/HARMONY-1093
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Richard Liang
> Assigned To: Paulex Yang
> Attachments: Harmony-1093.diff
>
>
> Hello,
> java.io.PipedInputStream.receive(int) will not throw IOException when the corresponding thread which is reading data is no longer alive. (Spec:If a thread was providing data bytes to the connected piped output stream, but the thread is no longer alive, then an IOException is thrown.)
> I will try to attach a patch to fix this problems. Thanks a lot.
> 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
[jira] Updated: (HARMONY-1093) [classlib][luni] Problems in
java.io.PipedInputStream.receive(int)
Posted by "Richard Liang (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1093?page=all ]
Richard Liang updated HARMONY-1093:
-----------------------------------
Attachment: Harmony-1093.diff
Hello,
Would you please try this patch? Thanks a lot.
After applying the patch, tests.api.java.io.PipedInputStreamTest.test_receive should pass on Harmony.
Best regards,
Richard
> [classlib][luni] Problems in java.io.PipedInputStream.receive(int)
> ------------------------------------------------------------------
>
> Key: HARMONY-1093
> URL: http://issues.apache.org/jira/browse/HARMONY-1093
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Richard Liang
> Attachments: Harmony-1093.diff
>
>
> Hello,
> java.io.PipedInputStream.receive(int) will not throw IOException when the corresponding thread which is reading data is no longer alive. (Spec:If a thread was providing data bytes to the connected piped output stream, but the thread is no longer alive, then an IOException is thrown.)
> I will try to attach a patch to fix this problems. Thanks a lot.
> 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
[jira] Assigned: (HARMONY-1093) [classlib][luni] Problems in
java.io.PipedInputStream.receive(int)
Posted by "Paulex Yang (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1093?page=all ]
Paulex Yang reassigned HARMONY-1093:
------------------------------------
Assignee: Paulex Yang
> [classlib][luni] Problems in java.io.PipedInputStream.receive(int)
> ------------------------------------------------------------------
>
> Key: HARMONY-1093
> URL: http://issues.apache.org/jira/browse/HARMONY-1093
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Richard Liang
> Assigned To: Paulex Yang
> Attachments: Harmony-1093.diff
>
>
> Hello,
> java.io.PipedInputStream.receive(int) will not throw IOException when the corresponding thread which is reading data is no longer alive. (Spec:If a thread was providing data bytes to the connected piped output stream, but the thread is no longer alive, then an IOException is thrown.)
> I will try to attach a patch to fix this problems. Thanks a lot.
> 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
[jira] Closed: (HARMONY-1093) [classlib][luni] Problems in
java.io.PipedInputStream.receive(int)
Posted by "Paulex Yang (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1093?page=all ]
Paulex Yang closed HARMONY-1093.
--------------------------------
Verified by Richard.
> [classlib][luni] Problems in java.io.PipedInputStream.receive(int)
> ------------------------------------------------------------------
>
> Key: HARMONY-1093
> URL: http://issues.apache.org/jira/browse/HARMONY-1093
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Richard Liang
> Assigned To: Paulex Yang
> Attachments: Harmony-1093.diff
>
>
> Hello,
> java.io.PipedInputStream.receive(int) will not throw IOException when the corresponding thread which is reading data is no longer alive. (Spec:If a thread was providing data bytes to the connected piped output stream, but the thread is no longer alive, then an IOException is thrown.)
> I will try to attach a patch to fix this problems. Thanks a lot.
> 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