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]

Patch: PR 3562


I'm checking this in on the trunk.  It fixes PR 3562; in fact it is
the patch suggested in the PR.

2001-07-05  Tom Tromey  <tromey@redhat.com>

	For PR java/3562:
	* java/lang/Class.h (Class(void)): Now private.  Removed
	implementation.  From dmorsberger@sensysdl.com.

Tom

Index: java/lang/Class.h
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/lang/Class.h,v
retrieving revision 1.34
diff -u -r1.34 Class.h
--- java/lang/Class.h 2001/05/24 05:40:37 1.34
+++ java/lang/Class.h 2001/07/05 15:55:35
@@ -207,8 +207,6 @@
   // finalization
   void finalize ();
 
-  Class () {};
-
   // This constructor is used to create Class object for the primitive
   // types. See prims.cc.
   Class (jobject cname, jbyte sig, jint len, jobject array_vtable)
@@ -237,6 +235,8 @@
   static java::lang::Class class$;
 
 private:   
+
+  Class ();
 
   void checkMemberAccess (jint flags);
 


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