* 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. From-SVN: r32056
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| Makefile.am | Loading commit data... | |
| Makefile.in | Loading commit data... | |
| boehm-gc.h | Loading commit data... | |
| config.h.in | Loading commit data... | |
| default-signal.h | Loading commit data... | |
| i386-signal.h | Loading commit data... | |
| java-assert.h | Loading commit data... | |
| java-chardecomp.h | Loading commit data... | |
| java-chartables.h | Loading commit data... | |
| java-cpool.h | Loading commit data... | |
| java-insns.h | Loading commit data... | |
| java-interp.h | Loading commit data... | |
| java-props.h | Loading commit data... | |
| jni.h | Loading commit data... | |
| jvm.h | Loading commit data... | |
| name-finder.h | Loading commit data... | |
| no-gc.h | Loading commit data... | |
| no-threads.h | Loading commit data... | |
| posix-threads.h | Loading commit data... | |
| sparc-signal.h | Loading commit data... | |
| stamp-h.in | Loading commit data... |