src/share/vm/runtime/java.hpp

changeset 3767
9d679effd28c
parent 3117
eca1193ca245
child 3884
f8de958e5b2c
     1.1 --- a/src/share/vm/runtime/java.hpp	Tue May 15 22:26:37 2012 +0200
     1.2 +++ b/src/share/vm/runtime/java.hpp	Tue May 15 10:25:06 2012 +0200
     1.3 @@ -206,6 +206,10 @@
     1.4      return current().compare_major(7) == 0;
     1.5    }
     1.6  
     1.7 +  static bool is_jdk18x_version() {
     1.8 +    return current().compare_major(8) == 0;
     1.9 +  }
    1.10 +
    1.11    static bool is_gte_jdk13x_version() {
    1.12      return current().compare_major(3) >= 0;
    1.13    }
    1.14 @@ -225,6 +229,10 @@
    1.15    static bool is_gte_jdk17x_version() {
    1.16      return current().compare_major(7) >= 0;
    1.17    }
    1.18 +
    1.19 +  static bool is_gte_jdk18x_version() {
    1.20 +    return current().compare_major(8) >= 0;
    1.21 +  }
    1.22  };
    1.23  
    1.24  #endif // SHARE_VM_RUNTIME_JAVA_HPP

mercurial