You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2007/05/15 13:45:33 UTC
DO NOT REPLY [Bug 42422] New: - Locator failing on Java1.4+ with a unix path containing a hostname: URI has an authority component
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: 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
DO NOT REPLY [Bug 42422] - Locator failing on Java1.4+ with a unix path containing a hostname: URI has an authority component
Posted by bu...@apache.org.
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
stevel@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
------- Additional Comments From stevel@apache.org 2007-05-15 05:10 -------
making this a duplicate of #42275, which I thought was failing for a different
reason
*** This bug has been marked as a duplicate of 42275 ***
--
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