Return-Path: Delivered-To: apmail-incubator-harmony-commits-archive@www.apache.org Received: (qmail 58665 invoked from network); 30 Aug 2006 11:27:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 Aug 2006 11:27:49 -0000 Received: (qmail 54027 invoked by uid 500); 30 Aug 2006 11:27:43 -0000 Delivered-To: apmail-incubator-harmony-commits-archive@incubator.apache.org Received: (qmail 53989 invoked by uid 500); 30 Aug 2006 11:27:43 -0000 Mailing-List: contact harmony-commits-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-commits@incubator.apache.org Received: (qmail 53961 invoked by uid 99); 30 Aug 2006 11:27:43 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Aug 2006 04:27:43 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Aug 2006 04:27:42 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id CE2027142D4 for ; Wed, 30 Aug 2006 11:24:23 +0000 (GMT) Message-ID: <25504056.1156937063841.JavaMail.jira@brutus> Date: Wed, 30 Aug 2006 04:24:23 -0700 (PDT) From: "Vladimir Ivanov (JIRA)" To: harmony-commits@incubator.apache.org Subject: [jira] Updated: (HARMONY-1346) [classlib][net] no URISyntaxException for URI(null, ":2:3:4:5:6:7:8", "/", null) In-Reply-To: <11548293.1156936223397.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 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/HARMONY-1346?page=all ] Vladimir Ivanov updated HARMONY-1346: ------------------------------------- Attachment: URITest.patch unit test > [classlib][net] no URISyntaxException for URI(null, ":2:3:4:5:6:7:8", "/", null) > -------------------------------------------------------------------------------- > > Key: HARMONY-1346 > URL: http://issues.apache.org/jira/browse/HARMONY-1346 > Project: Harmony > Issue Type: Bug > Components: Classlib > Reporter: Vladimir Ivanov > Attachments: URITest.patch > > > The method java.net.URI(null, ":2:3:4:5:6:7:8", "/", null) throws URISyntaxException on RI and create URI on Harmony. > =============== test.java =================== > import java.net.URI; > public class test { > public static void main(String arg[]) throws Exception { > System.out.println("res = " + new URI(null, ":2:3:4:5:6:7:8", "/", null)); > } > } > ========================================= > Output: > C:\tmp\tmp17>C:\jrockit-jdk1.5.0-windows-ia32\bin\java.exe -cp . -showversion test > java version "1.5.0" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64) > BEA WebLogic JRockit(R) (build dra-38972-20041208-2001-win-ia32, R25.0.0-75, GC: System optimized over throughput (initial strategy singleparpar)) > java.net.URISyntaxException: Malformed IPv6 address at index 3: //[:2:3:4:5:6:7:8]/ > at java.net.URI$Parser.fail(URI.java:2809) > at java.net.URI$Parser.parseIPv6Reference(URI.java:3430) > at java.net.URI$Parser.parseServer(URI.java:3180) > at java.net.URI$Parser.parseAuthority(URI.java:3116) > at java.net.URI$Parser.parseHierarchical(URI.java:3058) > at java.net.URI$Parser.parse(URI.java:3024) > at java.net.URI.(URI.java:663) > at java.net.URI.(URI.java:764) > at test.main(test.java:5) > C:\tmp\tmp17>C:\harmony\classlib1.5\deploy\jdk\jre\bin\java.exe -cp . -showversion test > java version 1.5 (subset) > (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable. > res = //[:2:3:4:5:6:7:8]/ > C:\tmp\tmp17>C:\harmony\drlvm1.5\build\win_ia32_msvc_debug\deploy\jre\bin\java -Dvm.assert_dialog=false -cp . -showversion test > java version "1.5.0" > pre-alpha : not complete or compatible > svn = r438321, (Aug 30 2006), Windows/ia32/msvc 1310, debug build > http://incubator.apache.org/harmony > res = //[:2:3:4:5:6:7:8]/ -- 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