No description, website, or topics provided.
Clone or download
Pull request Compare This branch is 76 commits behind aosp-mirror:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


                           JDiff Doclet

                           Matthew Doar

The JDiff doclet is used to generate a report describing the
difference between two public Java APIs. 

The file jdiff.html contains the reference page for JDiff.  The latest
version of JDiff can be downloaded at:

To use the Ant task on your own project, see example.xml. More examples
of using JDiff to compare the public APIs of J2SE1.3 and J2SE1.4 can
be seen at

For an example with the source distribution, run "ant" and
look at the HTML output in ./build/reports/example/changes.html 
The page at ./build/reports/example/changes/com.acme.sp.SPImpl.html
shows what a typical page of changes looks like. 

System Requirements

JDiff has been tested with all releases of Java since J2SE1.2 but
releases of JDiff after 1.10.0 focus on JDK1.5.


JDiff is licensed under the Lesser GNU General Public License (LGPL).
See the file LICENSE.txt.


JDiff uses Stuart D. Gathman's Java translation of Gene Myers' O(ND) 
difference algorithm.

JDiff uses Xerces 1.4.2 from

JDiff also includes a script to use the classdoc application from or, by Jens
Gulden, (, to call a doclet such as jdiff on a .jar
file rather than on source.

Many thanks to the reviewers at Sun and Vitria who gave feedback on early
versions of JDiff output, and also to the distillers of Laphroaig, and to
Arturo Fuente for his consistently fine cigars which helped inspire
much of this work.


If you are looking for a generalized diff tool for XML, try diffmk from