diff options
| author | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-02-18 21:22:06 +0000 |
|---|---|---|
| committer | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-02-18 21:22:06 +0000 |
| commit | 74ee27eff3f29f07896a7f55b64ad2922dda7018 (patch) | |
| tree | 6637b7627b283f1bc28869d88ab6c8eecc6e22fc /libjava/ChangeLog | |
| parent | 3f0cd642176ce3047f43055f65e616e763f45092 (diff) | |
| download | ppe42-gcc-74ee27eff3f29f07896a7f55b64ad2922dda7018.tar.gz ppe42-gcc-74ee27eff3f29f07896a7f55b64ad2922dda7018.zip | |
* include/jvm.h (_Jv_GetJavaVM): Declare.
* include/java-interp.h (_Jv_GetFirstMethod): New function.
(_Jv_MethodBase::get_method): New method.
(_Jv_JNIMethod::set_function): New method.
* jni.cc (_Jv_JNI_UnregisterNatives): New function.
(_Jv_JNI_RegisterNatives): New function.
(_Jv_JNIFunctions): Updated for new functions.
(_Jv_GetJavaVM): New function.
(_Jv_JNI_GetJavaVM): Use it. Now static.
(_Jv_JNI_AttachCurrentThread): Create a new JNIEnv if this thread
is already a Java thread but does not have a JNIEnv yet.
* java/lang/natRuntime.cc (_load): Pass the JavaVM to the onload
function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32056 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/ChangeLog')
| -rw-r--r-- | libjava/ChangeLog | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index f5e4fb787d1..fb2e46a48cf 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,20 @@ +2000-02-18 Tom Tromey <tromey@cygnus.com> + + * include/jvm.h (_Jv_GetJavaVM): Declare. + * include/java-interp.h (_Jv_GetFirstMethod): New function. + (_Jv_MethodBase::get_method): New method. + (_Jv_JNIMethod::set_function): New method. + * jni.cc (_Jv_JNI_UnregisterNatives): New function. + (_Jv_JNI_RegisterNatives): New function. + (_Jv_JNIFunctions): Updated for new functions. + (_Jv_GetJavaVM): New function. + (_Jv_JNI_GetJavaVM): Use it. Now static. + (_Jv_JNI_AttachCurrentThread): Create a new JNIEnv if this thread + is already a Java thread but does not have a JNIEnv yet. + + * java/lang/natRuntime.cc (_load): Pass the JavaVM to the onload + function. + 2000-02-17 Tom Tromey <tromey@cygnus.com> * gcj/field.h (_Jv_Field::getClass): Don't use JvAssert. |

