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] Updated: (HARMONY-472) java.net.HttpURLConnection.getOutputStream will throw ProtocolException when it's connected
Date Wed, 17 May 2006 14:24:10 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-472?page=all ]

Richard Liang updated HARMONY-472:
----------------------------------

    Attachment: luni.src.diff

Hello,

Please try my patch. Thanks a lot.

Best regards,
Richard

> java.net.HttpURLConnection.getOutputStream will throw ProtocolException when it's connected
> -------------------------------------------------------------------------------------------
>
>          Key: HARMONY-472
>          URL: http://issues.apache.org/jira/browse/HARMONY-472
>      Project: Harmony
>         Type: Bug

>   Components: Classlib
>     Reporter: Richard Liang
>     Priority: Minor
>  Attachments: luni.src.diff
>
> Hello,
> java.net.HttpURLConnection.getOutputStream will throw ProtocolException when it's connected.
The following test case will fail on Harmony but pass on RI.
> public void test_getOutputStream_afterConnection() throws Exception {
>         URLConnection uc = new URL("http://www.apache.org").openConnection();
>         uc.setDoOutput(true);
>         uc.connect();
>         assertNotNull(uc.getOutputStream());
>     }
> 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