jdk/src/share/native/common/check_code.c
JNIEXPORT jboolean
VerifyClass(JNIEnv *env, jclass cb, char *buffer, jint len)
{
{- -------------------------------------------
(1) (warning 出力)
(この関数は古いものであるため, 最初に呼び出された際に warning を出力する)
---------------------------------------- -}
static int warned = 0;
if (!warned) {
jio_fprintf(stdout, "Warning! An old version of jvm is used. This is not supported.\n");
warned = 1;
}
{- -------------------------------------------
(1) VerifyClassForMajorVersion() を呼び出し, 結果をリターンするだけ.
---------------------------------------- -}
return VerifyClassForMajorVersion(env, cb, buffer, len,
OLD_FORMAT_MAX_MAJOR_VERSION);
}
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.