This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Java runtime patch: compile resource files into executables
- To: <gcc-patches at gcc dot gnu dot org>, <java-patches at gcc dot gnu dot org>
- Subject: Re: Java runtime patch: compile resource files into executables
- From: "Anthony Green" <green at redhat dot com>
- Date: Sun, 2 Sep 2001 19:25:51 -0700
- References: <200109030108.SAA02067@fencer.cygnus.com>
I wrote:
> These gcj runtime changes are used with this compiler patch:
>
> http://gcc.gnu.org/ml/gcc-patches/2001-09/msg00026.html
>
I forgot to include this bit in my patch. You'll get link errors without it.
Sun Sep 2 17:57:33 2001 Anthony Green <green@redhat.com>
* include/jvm.h: Declare _Jv_RegisterResource.
Index: libjava/include/jvm.h
===================================================================
RCS file: /cvs/gcc/gcc/libjava/include/jvm.h,v
retrieving revision 1.37
diff -u -p -r1.37 jvm.h
--- jvm.h 2001/08/26 11:30:08 1.37
+++ jvm.h 2001/09/03 02:19:52
@@ -224,6 +224,7 @@ extern "C" void *_Jv_LookupInterfaceMeth
extern "C" void _Jv_CheckArrayStore (jobject array, jobject obj);
extern "C" void _Jv_RegisterClass (jclass klass);
extern "C" void _Jv_RegisterClasses (jclass *classes);
+extern "C" void _Jv_RegisterResource (void *vptr);
extern void _Jv_UnregisterClass (_Jv_Utf8Const*, java::lang::ClassLoader*);
extern void _Jv_ResolveField (_Jv_Field *, java::lang::ClassLoader*);