From 97d8f7e7e731a1c6d0b0174e0a47a45ae84f75e8 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 28 Aug 2002 20:05:34 +0000 Subject: [PATCH] Class.h: Include Package.h. * java/lang/Class.h: Include Package.h. (Class::getProtectionDomain): Declare. (Class::getPackage): Declare. From-SVN: r56640 --- libjava/ChangeLog | 6 ++++++ libjava/java/lang/Class.h | 3 +++ 2 files changed, 9 insertions(+) diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 26578b07c1f..442350028cf 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,9 @@ +2002-08-28 Tom Tromey + + * java/lang/Class.h: Include Package.h. + (Class::getProtectionDomain): Declare. + (Class::getPackage): Declare. + 2002-08-28 Michael Koch * java/net/InetSocketAddress.java: Added some documentation and argument diff --git a/libjava/java/lang/Class.h b/libjava/java/lang/Class.h index 9eb1a5cac1a..253aa64df1c 100644 --- a/libjava/java/lang/Class.h +++ b/libjava/java/lang/Class.h @@ -19,6 +19,7 @@ details. */ #include #include #include +#include // We declare these here to avoid including gcj/cni.h. extern "C" void _Jv_InitClass (jclass klass); @@ -209,6 +210,8 @@ public: } jobject newInstance (void); + java::security::ProtectionDomain *getProtectionDomain (void); + java::lang::Package *getPackage (void); jstring toString (void); jboolean desiredAssertionStatus (void);