[EMAIL PROTECTED] wrote:
[junit] Testcase:
testTripleForwardSlashNetworkURI_BugID_42275(org.apache.tools.ant.launch.LocatorTest):
FAILED
[junit] file:///PC03/jclasses/lib/ant-1.7.0.jar
expected:</[//]PC03/jclasses/lib/an...> but was:</[]PC03/jclasses/lib/an...>
[junit] junit.framework.ComparisonFailure: file:///PC03/jclasses/lib/ant-1.7.0.jar
expected:</[//]PC03/jclasses/lib/an...>
but was :</[]PC03/jclasses/lib/an...>
[junit] Testcase: testUnixNetworkPath(org.apache.tools.ant.launch.LocatorTest):
Caused an ERROR
[junit] Bad URI file://cluster/home/ant/lib:URI has an authority component
[junit] java.lang.IllegalArgumentException: Bad URI
file://cluster/home/ant/lib:URI has an authority component
[junit] at org.apache.tools.ant.launch.Locator.fromURI(Locator.java:179)
[junit] at
org.apache.tools.ant.launch.LocatorTest.resolve(LocatorTest.java:41)
[junit] at
org.apache.tools.ant.launch.LocatorTest.resolveTo(LocatorTest.java:48)
[junit] at
org.apache.tools.ant.launch.LocatorTest.testUnixNetworkPath(LocatorTest.java:69)
...
[junit] Caused by: java.lang.IllegalArgumentException: URI has an authority
component
JDK bug:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5079277
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5086147
we could avoid it by always using the pre-java1.4 URI to file logic,
instead of delegating to Sun when they have some code that claims to do it.
[junit] Testcase:
testScript(org.apache.tools.ant.taskdefs.optional.RhinoReferenceTest):
Caused an ERROR
[junit] java.lang.IllegalArgumentException: 11
[junit]
/x1/gump/public/workspace/ant/src/etc/testcases/taskdefs/optional/script_reference.xml:3:
java.lang.IllegalArgumentException: 11
...
[junit] java.lang.IllegalArgumentException: 11
[junit] at
org.mozilla.javascript.ContextFactory.hasFeature(ContextFactory.java:284)
many more errors seem to rely on that
[junit] Testcase:
testException(org.apache.tools.ant.taskdefs.optional.script.ScriptDefTest):
FAILED
[junit] Should throw BuildException because 'Should have thrown an exception in
the script' with message containing 'TypeError' (actual message
'java.lang.IllegalArgumentException: 11' instead)
[junit] junit.framework.AssertionFailedError: Should throw BuildException
because 'Should have thrown an exception in the script' with message containing
'TypeError' (actual message 'java.lang.IllegalArgumentException: 11' instead)
This all looks like my work.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]