[kaffe] Kaffe CVS: kaffe dalibor

Kaffe CVS cvs-commits at kaffe.org
Mon Jul 7 11:04:01 PDT 2003


CVSROOT:	/cvs/kaffe
Module name:	kaffe
Changes by:	dalibor	03/07/07 11:02:17

Modified files:
	.              : ChangeLog 
	include        : jni.h jni_cpp.h 
	kaffe/kaffevm  : external.c jni.c 

Log message:
2003-07-07  Mark Wielaard <mark at klomp.org>

* include/jni.h (JNINativeInterface): Mark reserved words which
are used in JNI 1.2/1.4. Add ExceptionCheck slot.
(JavaVMAttachArgs): Mark reserved3 word as future
AttachCurrentThreadAsDaemon.
(JNIEnv_): Add ExceptionCheck.
* include/jni_cpp.h (JNIEnv::CheckException): New inline
function.
* kaffe/kaffevm/jni.c (Kaffe_ExceptionCheck): New function.
(Kaffe_JNINativeInterface): Add Kaffe_ExceptionCheck function
and mark unsupported callbacks with NULL.
* kaffe/kaffevm/external.c (loadNativeLibrary2) Call JNI_OnLoad
function if it exists in the library.





More information about the kaffe mailing list