This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Patch: FYI: add missing Class declarations
- From: Tom Tromey <tromey at redhat dot com>
- To: Java Patch List <java-patches at gcc dot gnu dot org>
- Date: 28 Aug 2002 13:58:32 -0600
- Subject: Patch: FYI: add missing Class declarations
- Reply-to: tromey at redhat dot com
I'm checking this in.
A couple declarations were missing from Class.h.
This adds them.
Tom
Index: ChangeLog
from Tom Tromey <tromey@redhat.com>
* java/lang/Class.h: Include Package.h.
(Class::getProtectionDomain): Declare.
(Class::getPackage): Declare.
Index: java/lang/Class.h
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/lang/Class.h,v
retrieving revision 1.46
diff -u -r1.46 Class.h
--- java/lang/Class.h 5 Jul 2002 20:40:11 -0000 1.46
+++ java/lang/Class.h 28 Aug 2002 20:01:23 -0000
@@ -19,6 +19,7 @@
#include <java/net/URL.h>
#include <java/lang/reflect/Modifier.h>
#include <java/security/ProtectionDomain.h>
+#include <java/lang/Package.h>
// We declare these here to avoid including gcj/cni.h.
extern "C" void _Jv_InitClass (jclass klass);
@@ -209,6 +210,8 @@
}
jobject newInstance (void);
+ java::security::ProtectionDomain *getProtectionDomain (void);
+ java::lang::Package *getPackage (void);
jstring toString (void);
jboolean desiredAssertionStatus (void);