This content has been marked as final.
Show 2 replies
-
1. Proposal: give start classes to Unused Jar Report
jesper.pedersen Feb 3, 2011 10:15 AM (in response to ktnagel)This would mean that each JAR should provide a list of classes that are loaded through reflection.
I think a better approach is to
- During the scan of the archive check if the reflection api is used
- Scan the string constant pool for values that are class definitions
Ok, that won't give us the complete picture, but we are closer and can then look at ways to improve the result.
-
2. Proposal: give start classes to Unused Jar Report
ktnagel Feb 3, 2011 10:21 AM (in response to jesper.pedersen)Hmm. Maybe some classes could also called by external definitions, like servlet classes, and thus need to be named manually.
Anyway, the set of externally called classes should be a relative small set i'd say.