You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexei Zakharov (JIRA)" <ji...@apache.org> on 2007/03/02 16:02:51 UTC

[jira] Resolved: (HARMONY-3217) [classlib][luni][netbeans] HTTP connect through proxy doesn't work

     [ https://issues.apache.org/jira/browse/HARMONY-3217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexei Zakharov resolved HARMONY-3217.
--------------------------------------

    Resolution: Fixed

Thanks guys. I've applied the patch at the revision 513796. Please verify it was applied as expected.

> [classlib][luni][netbeans] HTTP connect through proxy doesn't work
> ------------------------------------------------------------------
>
>                 Key: HARMONY-3217
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3217
>             Project: Harmony
>          Issue Type: Bug
>          Components: App-Oriented Bug Reports, Classlib
>            Reporter: Vasily Zakharov
>         Assigned To: Alexei Zakharov
>         Attachments: H-3217.patch
>
>
> Here's a simple test reproducing the issue:
> public class Test {
>     public static void main(String args[]) throws Exception {
>         System.out.println(new java.net.URL("http://www.google.com")
>                 .openConnection().getInputStream());
>     }
> }
> The test should be run with operational proxy parameters specified in the command line, like this:
> java -Dhttp.proxyHost=<host> -Dhttp.proxyPort=<port> Test
> Output on RI:
> sun.net.www.protocol.http.HttpURLConnection$HttpInputStream@a90653
> Output on Harmony:
> java.io.FileNotFoundException: http://www.google.com
>         at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:878)
>         at Test.main(Test.java:3)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.