test/tools/javah/compareTest/README

Mon, 16 Sep 2013 14:13:44 +0200

author
jlahoda
date
Mon, 16 Sep 2013 14:13:44 +0200
changeset 2028
4ce8148ffc4f
parent 0
959103a6100f
permissions
-rw-r--r--

8021112: Spurious unchecked warning reported by javac
6480588: No way to suppress deprecation warnings when implementing deprecated interface
Summary: Fixing DeferredLintHandler configuration, so lint warnings are reported with correct @SuppressWarnings settings
Reviewed-by: jjg, vromero

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

mercurial