summaryrefslogtreecommitdiff
path: root/libjava
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2002-08-28 20:05:34 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2002-08-28 20:05:34 +0000
commitb71a9a8df56ab8bee913328ed25e6b692fcc5490 (patch)
tree44da54cccefa0df03ede010f91d2146218cf7718 /libjava
parentac8f035a5fe55be65d7c08a5d4ed424c5b60f619 (diff)
downloadgcc-b71a9a8df56ab8bee913328ed25e6b692fcc5490.tar.gz
* java/lang/Class.h: Include Package.h.
(Class::getProtectionDomain): Declare. (Class::getPackage): Declare. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56640 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava')
-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 26578b07c1f..442350028cf 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 9eb1a5cac1a..253aa64df1c 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);