Top


定義場所(file name)

hotspot/src/share/vm/classfile/classFileParser.cpp

名前(function name)

bool ClassFileParser::is_supported_version(u2 major, u2 minor) {

本体部(body)

  {- -------------------------------------------
  (1) (変数宣言など)
      ---------------------------------------- -}

      u2 max_version =
        JDK_Version::is_gte_jdk17x_version() ? JAVA_MAX_SUPPORTED_VERSION :
        (JDK_Version::is_gte_jdk16x_version() ? JAVA_6_VERSION : JAVA_1_5_VERSION);

  {- -------------------------------------------
  (1) 
      ---------------------------------------- -}

      return (major >= JAVA_MIN_SUPPORTED_VERSION) &&
             (major <= max_version) &&
             ((major != max_version) ||
              (minor <= JAVA_MAX_SUPPORTED_MINOR_VERSION));
    }

This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.