Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 78924 invoked from network); 15 Jul 2010 04:54:16 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 15 Jul 2010 04:54:16 -0000 Received: (qmail 42564 invoked by uid 500); 15 Jul 2010 04:54:16 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 42464 invoked by uid 500); 15 Jul 2010 04:54:14 -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 42457 invoked by uid 99); 15 Jul 2010 04:54:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Jul 2010 04:54:14 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Jul 2010 04:54:11 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o6F4rnjr015767 for ; Thu, 15 Jul 2010 04:53:50 GMT Message-ID: <2833222.391071279169629794.JavaMail.jira@thor> Date: Thu, 15 Jul 2010 00:53:49 -0400 (EDT) From: "Mohanraj Loganathan (JIRA)" To: commits@harmony.apache.org Subject: [jira] Created: (HARMONY-6581) [classlib][luni] HttpURLConnectionImpl throws IAE if URL has space or special character in it MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [classlib][luni] HttpURLConnectionImpl throws IAE if URL has space or special character in it --------------------------------------------------------------------------------------------- Key: HARMONY-6581 URL: https://issues.apache.org/jira/browse/HARMONY-6581 Project: Harmony Issue Type: Bug Components: Classlib Environment: Windows and Linux Reporter: Mohanraj Loganathan If the URL has space or special character in it, HttpURLConnectionImpl throws IllegalArgumentException saying that "Argument must not be null" Consider the below test: public void test() { try { URL url = new URL("http://www.apache.org/page with space"); HttpURLConnection conn = (HttpURLConnection)url.openConnection(); conn.connect(); } catch (MalformedURLException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.