What is the -Xcheck:jni command line option used for?

Davanum Srinivas

"-Xcheck:jni" is used to perform additional checks for Java Native Interface functions. This flag is available only in JRE 1.2 and the classic VM of JRE 1.3.

The following TechTip at JDC has an example of how to use this flag:
Tech Tips - August 01, 2000

More information on other non-standard options for Java 2 Classic VM can be found at:
Non-Standard Options of the Classic VM