Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 68512 invoked from network); 15 May 2007 11:45:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 May 2007 11:45:55 -0000 Received: (qmail 87171 invoked by uid 500); 15 May 2007 11:46:01 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 87130 invoked by uid 500); 15 May 2007 11:46:00 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 87112 invoked by uid 99); 15 May 2007 11:46:00 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 May 2007 04:46:00 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME 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; Tue, 15 May 2007 04:45:53 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 75F5171406A; Tue, 15 May 2007 04:45:33 -0700 (PDT) From: bugzilla@apache.org To: dev@ant.apache.org Subject: DO NOT REPLY [Bug 42422] New: - Locator failing on Java1.4+ with a unix path containing a hostname: URI has an authority component Message-ID: X-Bugzilla-Reason: AssignedTo Date: Tue, 15 May 2007 04:45:33 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=42422 Summary: Locator failing on Java1.4+ with a unix path containing a hostname: URI has an authority component Product: Ant Version: 1.7Alpha (nightly) Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Core AssignedTo: dev@ant.apache.org ReportedBy: stevel@apache.org If we try to create a File URI from a path with a double forward slash, the JRE itself bails out in URI.create(String). This appears to be a bug in the JRE. Bad URI file://cluster/home/ant/lib:URI has an authority component java.lang.IllegalArgumentException: Bad URI file://cluster/home/ant/lib:URI has an authority component at org.apache.tools.ant.launch.Locator.fromURI(Locator.java:179) at org.apache.tools.ant.launch.LocatorTest.resolve(LocatorTest.java:44) at org.apache.tools.ant.launch.LocatorTest.resolveTo(LocatorTest.java:52) at org.apache.tools.ant.launch.LocatorTest.testUnixNetworkPath(LocatorTest.java:96) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at junit.framework.TestCase.runTest(TestCase.java:164) -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org