/** common superclass for all platforms that use GCJ to compile a native binary */
public abstract class GCJ extends Platform {
- // static references to these classes ensure that the linker will include them
- /*
- public static Object c1 = new gnu.java.locale.Calendar();
- public static Object c2 = new java.util.GregorianCalendar();
- public static Object c3n = new gnu.gcj.convert.Input_ASCII();
- public static Object c4 = new gnu.gcj.convert.Input_UTF8();
- public static Object c5 = new gnu.gcj.convert.Input_8859_1();
- public static Object c7 = new gnu.gcj.convert.Output_ASCII();
- public static Object c6 = new gnu.java.locale.LocaleInformation();
- public static Object c10 = new gnu.gcj.protocol.http.Handler();
- public static Object c11 = new gnu.gcj.protocol.jar.Handler();
- public static Object c12 = new java.security.cert.Certificate("foo") {
- public byte[] getEncoded() throws CertificateEncodingException { return null; }
- public void verify(PublicKey key) { }
- public void verify(PublicKey key, String sigProvider) { }
- public String toString() { return "foocert"; }
- public PublicKey getPublicKey() { return null; }
- };
- */
-
protected native InputStream _getBuiltinInputStream();
protected native void _decodeJPEG(InputStream is, Picture p);