Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 86629 invoked from network); 2 Mar 2007 17:10:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Mar 2007 17:10:12 -0000 Received: (qmail 64955 invoked by uid 500); 2 Mar 2007 17:10:20 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 64930 invoked by uid 500); 2 Mar 2007 17:10:20 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 64919 invoked by uid 99); 2 Mar 2007 17:10:20 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Mar 2007 09:10:20 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Mar 2007 09:10:11 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 2DA9F7142F4 for ; Fri, 2 Mar 2007 09:09:51 -0800 (PST) Message-ID: <8311900.1172855391184.JavaMail.jira@brutus> Date: Fri, 2 Mar 2007 09:09:51 -0800 (PST) From: "Vasily Zakharov (JIRA)" To: commits@harmony.apache.org Subject: [jira] Closed: (HARMONY-3217) [classlib][luni][netbeans] HTTP connect through proxy doesn't work In-Reply-To: <24350141.1172068265704.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-3217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vasily Zakharov closed HARMONY-3217. ------------------------------------ Verified. > [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= -Dhttp.proxyPort= 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.