You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "George Harley (JIRA)" <ji...@apache.org> on 2006/05/19 09:55:30 UTC

[jira] Assigned: (HARMONY-472) java.net.HttpURLConnection.getOutputStream will throw ProtocolException when it's connected

     [ http://issues.apache.org/jira/browse/HARMONY-472?page=all ]

George Harley reassigned HARMONY-472:
-------------------------------------

    Assign To: George Harley

> 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
>     Assignee: George Harley
>     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