From: megacz Date: Fri, 30 Jan 2004 08:04:26 +0000 (+0000) Subject: 2004/01/19 21:10:01 X-Git-Tag: RC3~127 X-Git-Url: http://git.megacz.com/?p=org.ibex.core.git;a=commitdiff_plain;h=f46df9cf452b0af0d377bbd76954244101a1e856 2004/01/19 21:10:01 darcs-hash:20040130080426-2ba56-ca944d1b368d5011fa65f4fed866cc722e0b87bd.gz --- diff --git a/src/org/xwt/Platform.java b/src/org/xwt/Platform.java index af837a4..976a142 100644 --- a/src/org/xwt/Platform.java +++ b/src/org/xwt/Platform.java @@ -32,13 +32,11 @@ public abstract class Platform { // 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", "");