Mercurial > hg > truffle
comparison src/share/vm/runtime/java.hpp @ 6158:f9d57285de70
Merge
author | asaha |
---|---|
date | Thu, 07 Jun 2012 12:30:02 -0700 |
parents | 9d679effd28c |
children | f8de958e5b2c |
comparison
equal
deleted
inserted
replaced
6157:84e198dc2474 | 6158:f9d57285de70 |
---|---|
204 | 204 |
205 static bool is_jdk17x_version() { | 205 static bool is_jdk17x_version() { |
206 return current().compare_major(7) == 0; | 206 return current().compare_major(7) == 0; |
207 } | 207 } |
208 | 208 |
209 static bool is_jdk18x_version() { | |
210 return current().compare_major(8) == 0; | |
211 } | |
212 | |
209 static bool is_gte_jdk13x_version() { | 213 static bool is_gte_jdk13x_version() { |
210 return current().compare_major(3) >= 0; | 214 return current().compare_major(3) >= 0; |
211 } | 215 } |
212 | 216 |
213 static bool is_gte_jdk14x_version() { | 217 static bool is_gte_jdk14x_version() { |
223 } | 227 } |
224 | 228 |
225 static bool is_gte_jdk17x_version() { | 229 static bool is_gte_jdk17x_version() { |
226 return current().compare_major(7) >= 0; | 230 return current().compare_major(7) >= 0; |
227 } | 231 } |
232 | |
233 static bool is_gte_jdk18x_version() { | |
234 return current().compare_major(8) >= 0; | |
235 } | |
228 }; | 236 }; |
229 | 237 |
230 #endif // SHARE_VM_RUNTIME_JAVA_HPP | 238 #endif // SHARE_VM_RUNTIME_JAVA_HPP |