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 2002/10/04 05:41:46 UTC

DO NOT REPLY [Bug 13273] New: - FullAnalyzer misses some dependencies

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=13273>.
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=13273

FullAnalyzer misses some dependencies

           Summary: FullAnalyzer misses some dependencies
           Product: Ant
           Version: 1.5.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: jesse@cryptocard.com


Using org.apache.tools.ant.util.depend.bcel.FullAnalyzer does not add correct
dependencies for classes included in method signatures. 

example:

System.out.println("My class: " + MyClass.class);

MyClass will not be included in the dependency list, even though it is required
at runtime.

The problem is actually in o.a.t.a.u.d.DependencyVisitor

I've added a test to ClassFileSetTest to check for this.

Jesse

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>