// VM Detection Logic /////////////////////////////////////////////////////////////////////
- public static void forceLoad() { } ///< do-nothing method that forces <clinit> to run
-
// If you create a new subclass of Platform, you should add logic
// here to detect it. Do not reference your class directly -- use
// reflection.
- static {
+ public static void forceLoad() {
System.err.print("Detecting JVM...");
try {
String vendor = System.getProperty("java.vendor", "");