DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=42422>. 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: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]