This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [3.3 PATCH] ASCII converter vs. static linking


On 10 Jul 2003, Tom Tromey wrote:
> It's more usual to put the static linking hacks in FirstThread.
> Let's put this one there as well.

Okay.  The classes are public, so we can do that instead.


2003-07-10  Jeff Sturm  <jsturm@one-point.com>

	* gnu/gcj/runtime/FirstThread.java (KinputASCII,
	KoutputASCII): Create dummy references for static linking.

Index: gnu/gcj/runtime/FirstThread.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/gnu/gcj/runtime/FirstThread.java,v
retrieving revision 1.10
diff -c -p -r1.10 FirstThread.java
*** gnu/gcj/runtime/FirstThread.java	10 Oct 2001 22:25:43 -0000	1.10
--- gnu/gcj/runtime/FirstThread.java	10 Jul 2003 18:24:59 -0000
*************** final class FirstThread extends Thread
*** 94,97 ****
--- 94,99 ----
    static final Class Kfile = gnu.gcj.protocol.file.Handler.class;
    static final Class Khttp = gnu.gcj.protocol.http.Handler.class;
    static final Class Kjar  = gnu.gcj.protocol.jar.Handler.class;
+   static final Class KinputASCII  = gnu.gcj.convert.Input_ASCII.class;
+   static final Class KoutputASCII = gnu.gcj.convert.Output_ASCII.class;
  }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]