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 26570] - duplicate instances of interface com.sun.javadoc.RootDoc loaded
Date Sun, 01 Feb 2004 00:59:14 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=26570>.
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=26570

duplicate instances of  interface com.sun.javadoc.RootDoc loaded





------- Additional Comments From conor@cortexebusiness.com.au  2004-02-01 00:59 -------
I think you need to provide more information here.

1. How are you loading your custom task. Where does the task class reside - is
it a taskdef with a classpath? Can you give a build file snippet.

2. Where are you getting the two instances from - one is a Class.forName and the
other is ? (not sure what you mean by "the parameter signature of a loaded
doclet in our doclet path")

3. How is having two instances of a loaded class a problem? Are you getting
ClassCastExceptions?

4. What is your classpath set to? Does it include tools.jar (where the interface
classfile lives)?

In the end you need to make sure the same loader is being used to load the
different instances. One step would be to get the class loader for the instance
and see what the loader class is for the two instances, and then try to
understand how that comes about. We'll need a lot more info to get there.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message