harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Regis Xu (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-6636) [classlib][luni]PipedInputStream should not throw exception after the write end close
Date Tue, 21 Sep 2010 02:44:32 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-6636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12912814#action_12912814
] 

Regis Xu commented on HARMONY-6636:
-----------------------------------

Applied patch HARMONY-6636-v2.diff, I got test failure:

Should read 20. expected:<20> but was:<-1>

junit.framework.AssertionFailedError: Should read 20. expected:<20> but was:<-1>
at org.apache.harmony.luni.tests.java.io.PipedInputStreamTest.test_read_after_write_close(PipedInputStreamTest.java:389)
at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)

> [classlib][luni]PipedInputStream should not throw exception after the write end close
> -------------------------------------------------------------------------------------
>
>                 Key: HARMONY-6636
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6636
>             Project: Harmony
>          Issue Type: Bug
>            Reporter: Li Jing Qin
>            Assignee: Regis Xu
>         Attachments: HARMONY-6636-v2.diff, HARMONY-6636.diff
>
>
> When write end closed first, read end should not throw exception when read.

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