- if (platform_class == null) {
- if (Log.on) Log.info(Platform.class, "Unable to detect JVM");
- criticalAbort("Unable to detect JVM");
- }
-
- if (Log.on) Log.info(Platform.class, " platform = " + platform.getDescriptiveName());
- if (Log.on) Log.info(Platform.class, " class = " + platform.getClass().getName());
+ Log.diag(Platform.class, "XWT VM detection: vendor = " + vendor);
+ Log.diag(Platform.class, " version = " + version);
+ Log.diag(Platform.class, " os = " + os_name + " [version " + os_version + "]");
+ Log.diag(Platform.class, " platform = " + platform.getDescriptiveName());
+ Log.diag(Platform.class, " class = " + platform.getClass().getName());