This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
libjava.jni/calls.c
- To: java-patches at gcc dot gnu dot org
- Subject: libjava.jni/calls.c
- From: Richard Henderson <rth at redhat dot com>
- Date: Fri, 3 Aug 2001 01:17:07 -0700
This test has been failing because it's got a typo.
If you were actually intending to test CallCharMethodV, you'd
need to jump through some hoops to get hold of a valid va_list.
Ok?
r~
Index: testsuite/libjava.jni/calls.c
===================================================================
RCS file: /cvs/gcc/gcc/libjava/testsuite/libjava.jni/calls.c,v
retrieving revision 1.1
diff -c -p -d -r1.1 calls.c
*** calls.c 2000/02/17 00:49:27 1.1
--- calls.c 2001/08/03 08:13:58
*************** Java_calls_docall (JNIEnv *env, jobject
*** 29,35 ****
method = (*env)->GetMethodID (env, klass, "char_f", "(I)C");
val.i = 10;
! c = (*env)->CallCharMethodV (env, _this, method, &val);
if (c != ('a' + 10))
++fails;
--- 29,35 ----
method = (*env)->GetMethodID (env, klass, "char_f", "(I)C");
val.i = 10;
! c = (*env)->CallCharMethodA (env, _this, method, &val);
if (c != ('a' + 10))
++fails;