From: Andrew Haley Date: Fri, 29 Apr 2005 20:02:47 +0000 (+0000) Subject: Class.h (_Jv_ResolvePoolEntry): Declare as friend. X-Git-Tag: misc/cutover-cvs2svn~3583 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cfbb263896c3cba070727a176ec3fb9b8e08cec5;p=thirdparty%2Fgcc.git Class.h (_Jv_ResolvePoolEntry): Declare as friend. 2005-04-29 Andrew Haley * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend. From-SVN: r99016 --- diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 5a8022eecf81..79bf573ab972 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,7 @@ +2005-04-29 Andrew Haley + + * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend. + 2005-04-29 Dalibor Topic * java/nio/channels/FileChannelImpl.java diff --git a/libjava/java/lang/Class.h b/libjava/java/lang/Class.h index a82089dbf9f4..854856066ed3 100644 --- a/libjava/java/lang/Class.h +++ b/libjava/java/lang/Class.h @@ -31,6 +31,7 @@ extern "C" void _Jv_RegisterClasses_Counted (const jclass *classes, // 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 @@ private: 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.