* libjava.jni/calls.c (Java_calls_docall): Fix typo.

From-SVN: r44601
This commit is contained in:
Richard Henderson 2001-08-03 09:21:23 -07:00 committed by Richard Henderson
parent 0821bff756
commit cba5553ae6
2 changed files with 5 additions and 1 deletions

View file

@ -29,7 +29,7 @@ Java_calls_docall (JNIEnv *env, jobject _this)
method = (*env)->GetMethodID (env, klass, "char_f", "(I)C");
val.i = 10;
c = (*env)->CallCharMethodV (env, _this, method, &val);
c = (*env)->CallCharMethodA (env, _this, method, &val);
if (c != ('a' + 10))
++fails;