aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/lang/natThread.cc
diff options
context:
space:
mode:
authorBryce McKinlay <bryce@albatross.co.nz>2000-05-18 10:08:25 +0000
committerBryce McKinlay <bryce@gcc.gnu.org>2000-05-18 11:08:25 +0100
commitfc5b21380eee9b33e07a59dbdb91c05cfe18a3cf (patch)
tree7dabb10f4868878c76cbaec6230b1d9fcab4c1af /libjava/java/lang/natThread.cc
parentd0d88ce35ad7e9e8cf860d3dfcc5de5ec3ecd77d (diff)
downloadgcc-fc5b21380eee9b33e07a59dbdb91c05cfe18a3cf.zip
gcc-fc5b21380eee9b33e07a59dbdb91c05cfe18a3cf.tar.gz
gcc-fc5b21380eee9b33e07a59dbdb91c05cfe18a3cf.tar.bz2
Thread.java: Declare `data' as Object, not RawData.
2000-05-18 Bryce McKinlay <bryce@albatross.co.nz> * java/lang/Thread.java: Declare `data' as Object, not RawData. * java/lang/natThread.java (initialize_native): Cast `data' to jobject. * gnu/gcj/RawData.java: Clarify documentation. From-SVN: r33981
Diffstat (limited to 'libjava/java/lang/natThread.cc')
-rw-r--r--libjava/java/lang/natThread.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/libjava/java/lang/natThread.cc b/libjava/java/lang/natThread.cc
index 7a5e900..3fe4083 100644
--- a/libjava/java/lang/natThread.cc
+++ b/libjava/java/lang/natThread.cc
@@ -23,7 +23,6 @@ details. */
#include <java/lang/IllegalThreadStateException.h>
#include <java/lang/InterruptedException.h>
#include <java/lang/NullPointerException.h>
-#include <gnu/gcj/RawData.h>
#include <jni.h>
@@ -62,7 +61,7 @@ java::lang::Thread::initialize_native (void)
// own finalizer then we will need to reinitialize this structure at
// any "interesting" point.
natThread *nt = (natThread *) _Jv_AllocBytes (sizeof (natThread));
- data = reinterpret_cast<gnu::gcj::RawData *> (nt);
+ data = reinterpret_cast<jobject> (nt);
_Jv_MutexInit (&nt->join_mutex);
_Jv_CondInit (&nt->join_cond);
_Jv_ThreadInitData (&nt->thread, this);