This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Patch: PR 3562
- To: Java Patch List <java-patches at gcc dot gnu dot org>
- Subject: Patch: PR 3562
- From: Tom Tromey <tromey at redhat dot com>
- Date: 05 Jul 2001 10:18:04 -0600
- Reply-To: tromey at redhat dot com
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);