diff src/share/vm/runtime/java.hpp @ 6158:f9d57285de70

Merge
author asaha
date Thu, 07 Jun 2012 12:30:02 -0700
parents 9d679effd28c
children f8de958e5b2c
line wrap: on
line diff
--- a/src/share/vm/runtime/java.hpp	Mon May 21 14:56:33 2012 -0700
+++ b/src/share/vm/runtime/java.hpp	Thu Jun 07 12:30:02 2012 -0700
@@ -206,6 +206,10 @@
     return current().compare_major(7) == 0;
   }
 
+  static bool is_jdk18x_version() {
+    return current().compare_major(8) == 0;
+  }
+
   static bool is_gte_jdk13x_version() {
     return current().compare_major(3) >= 0;
   }
@@ -225,6 +229,10 @@
   static bool is_gte_jdk17x_version() {
     return current().compare_major(7) >= 0;
   }
+
+  static bool is_gte_jdk18x_version() {
+    return current().compare_major(8) >= 0;
+  }
 };
 
 #endif // SHARE_VM_RUNTIME_JAVA_HPP