JNI_GetCreatedJavaVMs bug
James Lundblad
jamesl at eecs.berkeley.edu
Thu Oct 8 11:28:07 PDT 1998
The following diffs to kaffe/kaffevm/jni.c make JNI_GetCreatedJavaVMs
more robust to code that calls JNI_GetCreatedJavaVMs before
JNI_CreateJavaVM to see if there is already a VM created.
JNI_GetCreatedJavaVMs was returning nvm = 1 even if no VMs have been
created.
diffs are for 1.0b2:
119a120
> extern int Kaffe_NoVM;
174c175
<
---
> Kaffe_NoVM = 1;
182c183
< *nvm = 1;
---
> *nvm = Kaffe_NoVM;
4089a4091,4092
> int Kaffe_NoVM = 0;
>
--
James A. Lundblad Visiting Scholar?
phone: 510-643-7612 558 Cory Hall
fax: 510-642-2739 EECS Department
email: jamesl at eecs.berkeley.edu University of California
http://www.eecs.berkeley.edu/~jamesl Berkeley CA 94720-1772
More information about the kaffe
mailing list