views:

173

answers:

2

Given two JAR files for the same Java library, is there a tool that will do a diff of the method signatures between the two jar files?

+4  A: 

use javap:

javap -classpath v1.jar my.package.MyClass > v1.javap
javap -classpath v2.jar my.package.MyClass > v2.javap
diff v1.javap v2.javap
cadrian
+2  A: 

If you have access to the source, you could try JDiff.

CoverosGene