X-Git-Url: http://git.megacz.com/?p=org.ibex.core.git;a=blobdiff_plain;f=src%2Forg%2Fibex%2Fplat%2FGCJ.java;h=c1b67cdf1dd5621702ca9fec6e15d12d489bbf2c;hp=63fe878d4923e981c64a0598170546dd4d80fe91;hb=01732f3955ae92c0520283b44f52d1ec69f9f9f2;hpb=2ac0139d98efbf007b6ec00cdb18d556d3377af7 diff --git a/src/org/ibex/plat/GCJ.java b/src/org/ibex/plat/GCJ.java index 63fe878..c1b67cd 100644 --- a/src/org/ibex/plat/GCJ.java +++ b/src/org/ibex/plat/GCJ.java @@ -1,33 +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);