Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 81694 invoked from network); 31 Dec 2005 03:27:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 31 Dec 2005 03:27:37 -0000 Received: (qmail 41972 invoked by uid 500); 31 Dec 2005 03:27:31 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 41624 invoked by uid 500); 31 Dec 2005 03:27:29 -0000 Mailing-List: contact harmony-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-dev@incubator.apache.org Received: (qmail 41613 invoked by uid 99); 31 Dec 2005 03:27:29 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Dec 2005 19:27:27 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id A5BFBE0 for ; Sat, 31 Dec 2005 04:27:05 +0100 (CET) Message-ID: <1580292887.1135999625676.JavaMail.jira@ajax.apache.org> Date: Sat, 31 Dec 2005 04:27:05 +0100 (CET) From: "Tim Ellison (JIRA)" To: harmony-dev@incubator.apache.org Subject: [jira] Assigned: (HARMONY-23) java.net.URI(String s) for invalid escaped characters throw IllegalArgumentException In-Reply-To: <40455449.1134655487630.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/HARMONY-23?page=all ] Tim Ellison reassigned HARMONY-23: ---------------------------------- Assign To: Tim Ellison (was: Geir Magnusson Jr) > java.net.URI(String s) for invalid escaped characters throw IllegalArgumentException > ------------------------------------------------------------------------------------ > > Key: HARMONY-23 > URL: http://issues.apache.org/jira/browse/HARMONY-23 > Project: Harmony > Type: Bug > Components: Classlib > Reporter: Vladimir Strigun > Assignee: Tim Ellison > Priority: Minor > > When I use URI(String) constructor with invalid escaped characters I get IllegalArgumentException instead of URISyntaxException. > Small testcase for reproducing this issue: > import java.net.*; > public class URIBug{ > public static void main(String[] args) { > try { > new URI("%3"); > } catch (URISyntaxException e) { > System.out.println("PASSED"); > } catch (Exception e) { > System.out.println("FAILED: illegal exception occured: "+e); > } > } > } -- 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