src/share/vm/runtime/java.hpp

changeset 3767
9d679effd28c
parent 3117
eca1193ca245
child 3884
f8de958e5b2c
equal deleted inserted replaced
3766:cdfa5139bd58 3767:9d679effd28c
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

mercurial