8ade47715e
* 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 |
||
---|---|---|
.. | ||
boehm-gc.h | ||
config.h.in | ||
default-signal.h | ||
i386-signal.h | ||
java-assert.h | ||
java-chardecomp.h | ||
java-chartables.h | ||
java-cpool.h | ||
java-insns.h | ||
java-interp.h | ||
java-props.h | ||
jni.h | ||
jvm.h | ||
Makefile.am | ||
Makefile.in | ||
name-finder.h | ||
no-gc.h | ||
no-threads.h | ||
posix-threads.h | ||
sparc-signal.h | ||
stamp-h.in |