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 11:04:30 UTC

[jira] Resolved: (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 resolved HARMONY-472:
-----------------------------------

    Resolution: Fixed

Hi Richard,

Patch committed in revision 407752. Please could you verify that the fix has been applied as expected. 

Many thanks for this enhancement. 

Best regards, 
George

> 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