aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2002-08-28 20:05:34 +0000
committerTom Tromey <tromey@gcc.gnu.org>2002-08-28 20:05:34 +0000
commit97d8f7e7e731a1c6d0b0174e0a47a45ae84f75e8 (patch)
tree44da54cccefa0df03ede010f91d2146218cf7718
parent26fed921cd42dadfb88f8e34ef6f2617328a1422 (diff)
downloadgcc-97d8f7e7e731a1c6d0b0174e0a47a45ae84f75e8.zip
gcc-97d8f7e7e731a1c6d0b0174e0a47a45ae84f75e8.tar.gz
gcc-97d8f7e7e731a1c6d0b0174e0a47a45ae84f75e8.tar.bz2
Class.h: Include Package.h.
* java/lang/Class.h: Include Package.h. (Class::getProtectionDomain): Declare. (Class::getPackage): Declare. From-SVN: r56640
-rw-r--r--libjava/ChangeLog6
-rw-r--r--libjava/java/lang/Class.h3
2 files changed, 9 insertions, 0 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog
index 26578b0..4423500 100644
--- a/libjava/ChangeLog
+++ b/libjava/ChangeLog
@@ -1,3 +1,9 @@
+2002-08-28 Tom Tromey <tromey@redhat.com>
+
+ * java/lang/Class.h: Include Package.h.
+ (Class::getProtectionDomain): Declare.
+ (Class::getPackage): Declare.
+
2002-08-28 Michael Koch <konqueror@gmx.de>
* java/net/InetSocketAddress.java: Added some documentation and argument
diff --git a/libjava/java/lang/Class.h b/libjava/java/lang/Class.h
index 9eb1a5c..253aa64 100644
--- a/libjava/java/lang/Class.h
+++ b/libjava/java/lang/Class.h
@@ -19,6 +19,7 @@ details. */
#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 @@ public:
}
jobject newInstance (void);
+ java::security::ProtectionDomain *getProtectionDomain (void);
+ java::lang::Package *getPackage (void);
jstring toString (void);
jboolean desiredAssertionStatus (void);