X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=src%2Forg%2Fibex%2Fplat%2FGCJ.java;h=6f516891976d129163a5a3b61d024ba1579e8665;hb=6eaf54fa906754ce35a7db0e8207fc6bbde5464d;hp=183c57304dd2b25c97d5f16052b366588a243f9b;hpb=ab47671aab80c10b57b74c8eb7e240b79e352b99;p=org.ibex.core.git diff --git a/src/org/ibex/plat/GCJ.java b/src/org/ibex/plat/GCJ.java index 183c573..6f51689 100644 --- a/src/org/ibex/plat/GCJ.java +++ b/src/org/ibex/plat/GCJ.java @@ -1,27 +1,20 @@ -// Copyright 2004 Adam Megacz, see the COPYING file for licensing [GPL] +// Copyright 2000-2005 the Contributors, as shown in the revision logs. +// Licensed under the GNU General Public License version 2 ("the License"). +// You may not use this file except in compliance with the License. + 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[][] c1c = new gnu.java.locale.Calendar().getContents(); - 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 c6 = new gnu.java.locale.LocaleInformation(); - public static Object c7 = new gnu.gcj.convert.Output_ASCII(); - public static Object c8 = new gnu.java.locale.Calendar_en(); - public static Object c9 = new gnu.java.locale.Calendar_en_US(); - public static Object c10 = new gnu.gcj.protocol.http.Handler(); - public static Object c11 = new gnu.gcj.protocol.jar.Handler(); - protected native InputStream _getBuiltinInputStream(); protected native void _decodeJPEG(InputStream is, Picture p);