Top


定義場所(file name)

jdk/src/share/native/common/check_code.c

名前(function name)

JNIEXPORT jboolean
VerifyClass(JNIEnv *env, jclass cb, char *buffer, jint len)
{

本体部(body)

  {- -------------------------------------------
  (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.