[kaffe] CVS kaffe (guilhem): Fix for bug #61
Kaffe CVS
cvs-commits at kaffe.org
Fri Sep 22 13:27:41 PDT 2006
PatchSet 7422
Date: 2006/09/22 20:14:22
Author: guilhem
Branch: HEAD
Tag: (none)
Log:
Fix for bug #61
2006-09-22 Guilhem Lavaux <guilhem at kaffe.org>
* kaffe/kaffevm/jni/jni.c
(KaffeJNI_GetStaticMethodID): Do a full name resolution instead of
just looking at the specified class. This is an unspecified behaviour
of the JNI documentation.
Fix bug #61.
Members:
ChangeLog:1.4924->1.4925
kaffe/kaffevm/jni/jni.c:1.45->1.46
Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4924 kaffe/ChangeLog:1.4925
--- kaffe/ChangeLog:1.4924 Tue Sep 19 10:12:18 2006
+++ kaffe/ChangeLog Fri Sep 22 20:14:22 2006
@@ -1,3 +1,12 @@
+2006-09-22 Guilhem Lavaux <guilhem at kaffe.org>
+
+ * kaffe/kaffevm/jni/jni.c
+ (KaffeJNI_GetStaticMethodID): Do a full name resolution instead of
+ just looking at the specified class. This is an unspecified behaviour
+ of the JNI documentation.
+
+ Fix bug #61.
+
2006-09-19 Riccardo Mottola <riccardo at kaffe.org>
* libraries/javalib/awt-implementations/kaffe/java/awt/AWTEvent.java:
Index: kaffe/kaffe/kaffevm/jni/jni.c
diff -u kaffe/kaffe/kaffevm/jni/jni.c:1.45 kaffe/kaffe/kaffevm/jni/jni.c:1.46
--- kaffe/kaffe/kaffevm/jni/jni.c:1.45 Sun Jun 11 23:12:11 2006
+++ kaffe/kaffe/kaffevm/jni/jni.c Fri Sep 22 20:14:28 2006
@@ -629,7 +629,7 @@
cls_local = unveil(cls);
meth = lookupClassMethod((Hjava_lang_Class*)cls_local, name, sig,
- true, &info);
+ false, &info);
if (meth == NULL) {
postError(env, &info);
} else if (!METHOD_IS_STATIC(meth)) {
More information about the kaffe
mailing list