This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [3.3 PATCH] ASCII converter vs. static linking
- From: Jeff Sturm <jsturm at one-point dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: java-patches at gcc dot gnu dot org
- Date: Thu, 10 Jul 2003 15:15:28 -0400 (EDT)
- Subject: 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;
}