explicitly sets MIG platform defaults to WINDOWS_XP
authorhansonr <hansonr@STO24954W.ad.stolaf.edu>
Mon, 4 Feb 2019 14:49:55 +0000 (08:49 -0600)
committerhansonr <hansonr@STO24954W.ad.stolaf.edu>
Mon, 4 Feb 2019 14:49:55 +0000 (08:49 -0600)
srcjar/net/miginfocom/layout/PlatformDefaults.java

index e1b72c4..0e422db 100644 (file)
@@ -153,6 +153,8 @@ public final class PlatformDefaults
         */
        public static int getCurrentPlatform()
        {
+               if (/** @j2sNative true ||*/false)
+                       return WINDOWS_XP;
                final String os = System.getProperty("os.name");
                if (os.startsWith("Mac OS")) {
                        return MAC_OSX;