[ http://issues.apache.org/jira/browse/HARMONY-23?page=all ] Tim Ellison closed HARMONY-23: ------------------------------
No response from Vladimir. Assuming it is ok -- closing. > 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
