aoqi@0: test/tools/javah/compareTest/README aoqi@0: aoqi@0: This directory contains a program for comparing the output of new javah against the aoqi@0: output of JDK 6 or other older versions of javah. aoqi@0: aoqi@0: It cannot be run automatically because of the need for the older version of javah aoqi@0: to compare against. aoqi@0: aoqi@0: The test works by scanning a jar file, such as rt.jar, looking for all files with aoqi@0: native methods. It then runs both the old and new versions of javah on those aoqi@0: classes with native methods, and verifies that the results are character-for-character aoqi@0: identical. aoqi@0: aoqi@0: To run the test, build langtools, then execute the script in the root langtools aoqi@0: directory, providing the location of the JDK to be tested. The default is aoqi@0: /opt/jdk/1.6.0.