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: PR java/19285: Interfaces not initialized by static field access


Andrew included this in his original patch submission but forgot to
check it in.  I'm checking it in now to fix the build.

Tom

Index: ChangeLog
from  Andrew Haley  <aph@redhat.com>

	* java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.

Index: java/lang/Class.h
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/lang/Class.h,v
retrieving revision 1.81
diff -u -r1.81 Class.h
--- java/lang/Class.h 17 Mar 2005 00:18:50 -0000 1.81
+++ java/lang/Class.h 29 Apr 2005 20:00:38 -0000
@@ -31,6 +31,7 @@
 // This must be predefined with "C" linkage.
 extern "C" void *_Jv_LookupInterfaceMethodIdx (jclass klass, jclass iface, 
                                                int meth_idx);
+extern "C" void *_Jv_ResolvePoolEntry (jclass this_class, jint index);
 
 // These are the possible values for the `state' field of the class
 // structure.  Note that ordering is important here.  Whenever the
@@ -491,6 +492,8 @@
 
   friend void ::_Jv_sharedlib_register_hook (jclass klass);
 
+  friend void *::_Jv_ResolvePoolEntry (jclass this_class, jint index);
+
   // Chain for class pool.  This also doubles as the ABI version
   // number.  It is only used for this purpose at class registration
   // time, and only for precompiled classes.


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