Commit 97d8f7e7 by Tom Tromey Committed by Tom Tromey

Class.h: Include Package.h.

	* java/lang/Class.h: Include Package.h.
	(Class::getProtectionDomain): Declare.
	(Class::getPackage): Declare.

From-SVN: r56640
parent 26fed921
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> 2002-08-28 Michael Koch <konqueror@gmx.de>
* java/net/InetSocketAddress.java: Added some documentation and argument * java/net/InetSocketAddress.java: Added some documentation and argument
......
...@@ -19,6 +19,7 @@ details. */ ...@@ -19,6 +19,7 @@ details. */
#include <java/net/URL.h> #include <java/net/URL.h>
#include <java/lang/reflect/Modifier.h> #include <java/lang/reflect/Modifier.h>
#include <java/security/ProtectionDomain.h> #include <java/security/ProtectionDomain.h>
#include <java/lang/Package.h>
// We declare these here to avoid including gcj/cni.h. // We declare these here to avoid including gcj/cni.h.
extern "C" void _Jv_InitClass (jclass klass); extern "C" void _Jv_InitClass (jclass klass);
...@@ -209,6 +210,8 @@ public: ...@@ -209,6 +210,8 @@ public:
} }
jobject newInstance (void); jobject newInstance (void);
java::security::ProtectionDomain *getProtectionDomain (void);
java::lang::Package *getPackage (void);
jstring toString (void); jstring toString (void);
jboolean desiredAssertionStatus (void); jboolean desiredAssertionStatus (void);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment