This is the mail archive of the java-patches@sourceware.cygnus.com 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]

Patch: decl fix in Class.h


I'm committing this patch.  It fixes a silly thinko, where I put a
decl in a public section instead of a private section.

2000-01-05  Tom Tromey  <tromey@cygnus.com>

	* java/lang/Class.h (_getMethods): Correctly declare as private,
	not public.

Tom

Index: java/lang/Class.h
===================================================================
RCS file: /cvs/java/libgcj/libjava/java/lang/Class.h,v
retrieving revision 1.10
diff -u -r1.10 Class.h
--- Class.h	2000/01/05 22:22:10	1.10
+++ Class.h	2000/01/05 22:24:37
@@ -97,6 +97,8 @@
   jint _getFields (JArray<java::lang::reflect::Field *> *result, jint offset);
   JArray<java::lang::reflect::Constructor *> *_getConstructors (jboolean);
   java::lang::reflect::Field *getField (jstring, jint);
+  jint _getMethods (JArray<java::lang::reflect::Method *> *result,
+		    jint offset);
 public:
   JArray<java::lang::reflect::Field *> *getFields (void);
 
@@ -105,8 +107,6 @@
   void getSignature (java::lang::StringBuffer *buffer);
   static jstring getSignature (JArray<jclass> *, jboolean is_constructor);
   java::lang::reflect::Method *getMethod (jstring, JArray<jclass> *);
-  jint _getMethods (JArray<java::lang::reflect::Method *> *result,
-		    jint offset);
   JArray<java::lang::reflect::Method *> *getMethods (void);
 
   jint getModifiers (void)

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