2004/01/19 21:10:01
authormegacz <megacz@xwt.org>
Fri, 30 Jan 2004 08:04:26 +0000 (08:04 +0000)
committermegacz <megacz@xwt.org>
Fri, 30 Jan 2004 08:04:26 +0000 (08:04 +0000)
darcs-hash:20040130080426-2ba56-ca944d1b368d5011fa65f4fed866cc722e0b87bd.gz

src/org/xwt/Platform.java

index af837a4..976a142 100644 (file)
@@ -32,13 +32,11 @@ public abstract class Platform {
 
     // VM Detection Logic /////////////////////////////////////////////////////////////////////
 
-    public static void forceLoad() { }                 ///< do-nothing method that forces &lt;clinit&gt; 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", "");