X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=src%2Forg%2Fibex%2Fplat%2FGCJ.java;h=c1b67cdf1dd5621702ca9fec6e15d12d489bbf2c;hb=ac0b1db223ee818fa2fe812d8d2e18089781ee6a;hp=e68dc29f17c8f2baaafa5a9958eb306e31f189aa;hpb=4c907d5df93e04fceff7dcd3f6ab42f02347fe65;p=org.ibex.core.git diff --git a/src/org/ibex/plat/GCJ.java b/src/org/ibex/plat/GCJ.java index e68dc29..c1b67cd 100644 --- a/src/org/ibex/plat/GCJ.java +++ b/src/org/ibex/plat/GCJ.java @@ -1,35 +1,17 @@ // Copyright 2004 Adam Megacz, see the COPYING file for licensing [GPL] package org.ibex.plat; -import org.ibex.*; import org.ibex.util.*; import java.io.*; import java.security.*; import java.security.cert.*; +import org.ibex.graphics.*; +import org.ibex.core.*; +import org.ibex.net.*; /** 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);