ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 19213] - Further Cleanup of the ClasspathUtils.
Date Wed, 23 Apr 2003 13:50:31 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19213>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19213

Further Cleanup of the ClasspathUtils.

bodewig@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |1.6



------- Additional Comments From bodewig@apache.org  2003-04-23 13:50 -------
I've left the public methods in (which also forced me to add some methods to
the new inner class of ClasspathUtils) for backwards compatibility reasons.

With a slightly modifed version I get this here when running the test

    [junit] Testcase:
testCustomFilter(org.apache.tools.ant.filters.DynamicFilterTest):	Caused an ERROR
    [junit] null
    [junit] java.lang.NullPointerException
    [junit] 	at java.util.Hashtable.get(Hashtable.java:315)
    [junit] 	at org.apache.tools.ant.Project$AntRefTable.getReal(Project.java:2194)
    [junit] 	at org.apache.tools.ant.Project.addReference(Project.java:1869)
    [junit] 	at
org.apache.tools.ant.util.ClasspathUtils.getClassLoaderForPath(ClasspathUtils.java:198)
    [junit] 	at
org.apache.tools.ant.util.ClasspathUtils$Delegate.getClassLoader(ClasspathUtils.java:405)
    [junit] 	at org.apache.tools.ant.taskdefs.Definer.createLoader(Definer.java:263)
    [junit] 	at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:166)
    [junit] 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:231)
    [junit] 	at org.apache.tools.ant.Task.perform(Task.java:399)
    [junit] 	at org.apache.tools.ant.Target.execute(Target.java:309)
    [junit] 	at org.apache.tools.ant.Target.performTasks(Target.java:336)
    [junit] 	at org.apache.tools.ant.Project.executeTarget(Project.java:1404)  
 [junit] 	at
org.apache.tools.ant.BuildFileTest.executeTarget(BuildFileTest.java:265)
    [junit] 	at
org.apache.tools.ant.filters.DynamicFilterTest.expectFileContains(DynamicFilterTest.java:137)
    [junit] 	at
org.apache.tools.ant.filters.DynamicFilterTest.testCustomFilter(DynamicFilterTest.java:84)

Mime
View raw message