https://issues.apache.org/bugzilla/show_bug.cgi?id=52691

             Bug #: 52691
           Summary: ClassFileSet doesn't support generic parameters
           Product: Ant
           Version: 1.8.2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified


The ClassFileSet doesn't retain classes used only in generic signatures. For
example if the directory contains two classes Foo and Bar, Bar being only used
in Foo as a return parameter such as List<Bar>, the dependency between Foo and
Bar will be missed and only Foo will be retained.


This could be fixed by implementing
org.apache.tools.ant.util.depend.AbstractAnalyzer with ASM instead of BCEL. The
Maven Dependency Analyzer plugin has almost all of the code needed to do this
task:

http://maven.apache.org/shared/maven-dependency-analyzer/xref

http://maven.apache.org/shared/maven-dependency-analyzer/xref/org/apache/maven/shared/dependency/analyzer/asm/ASMDependencyAnalyzer.html

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to