import java.util.*;
import java.io.*;
import java.awt.*;
-import org.bouncycastle.util.encoders.Base64;
import org.xwt.js.*;
import org.xwt.util.*;
import org.xwt.translators.*;
+import org.xwt.plat.*;
+import org.bouncycastle.util.encoders.Base64;
/** Entry point for the XWT Engine; handles splash screen, initial xwar loading, and argument processing */
public class Main {
+ // to prevent GCJ from dropping these classes
+ private static final Class[] keep = new Class[] { GCJ.class, Linux.class, Solaris.class, Darwin.class, Win32.class };
+
/**
* FEATURE: this should be implemented using self-emulation
* Used for security checks. If this is null, it means that only