harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vasily Zakharov (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-3217) [classlib][luni][netbeans] HTTP connect through proxy doesn't work
Date Wed, 21 Feb 2007 14:31:05 GMT
[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

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

The test should be run with operational proxy parameters specified in the command line, like

java -Dhttp.proxyHost=<host> -Dhttp.proxyPort=<port> Test

Output on RI:


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.

View raw message