265 |
|
public static boolean atLeastJava6() { return JAVA_CLASS_VERSION >= 50.0; } |
266 |
|
public static boolean atLeastJava7() { return JAVA_CLASS_VERSION >= 51.0; } |
267 |
|
public static boolean atLeastJava8() { return JAVA_CLASS_VERSION >= 52.0; } |
268 |
< |
public static boolean atLeastJava9() { |
269 |
< |
// As of 2014-05, java9 still uses 52.0 class file version |
270 |
< |
return JAVA_SPECIFICATION_VERSION.startsWith("1.9"); |
271 |
< |
} |
268 |
> |
public static boolean atLeastJava9() { return JAVA_CLASS_VERSION >= 53.0; } |
269 |
|
|
270 |
|
/** |
271 |
|
* Collects all JSR166 unit tests as one suite. |