Package org.eclipse.jetty.toolchain.test
Class JDK
- java.lang.Object
-
- org.eclipse.jetty.toolchain.test.JDK
-
public class JDK extends java.lang.Object
Common Java JVM/JDK environment utilities
-
-
Field Summary
Fields Modifier and Type Field Description static boolean
IS_5
True if JDK is 1.5 (or newer)static boolean
IS_6
True if JDK is 1.6 (or newer)static boolean
IS_7
True if JDK is 1.7 (or newer)static boolean
IS_8
True if JDK is 1.8 (or newer)static boolean
IS_9
True if JDK is 9.0 (or newer)
-
Constructor Summary
Constructors Constructor Description JDK()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static boolean
isJavaVersionAtLeast(int maj, int min)
private static int
toInt(java.lang.String val)
-
-
-
Field Detail
-
IS_5
public static final boolean IS_5
True if JDK is 1.5 (or newer)
-
IS_6
public static final boolean IS_6
True if JDK is 1.6 (or newer)
-
IS_7
public static final boolean IS_7
True if JDK is 1.7 (or newer)
-
IS_8
public static final boolean IS_8
True if JDK is 1.8 (or newer)
-
IS_9
public static final boolean IS_9
True if JDK is 9.0 (or newer)
-
-