* libjava.jni/martin.c (Java_martin_myNative): Flush stdout.

From-SVN: r39287
This commit is contained in:
Tom Tromey 2001-01-26 22:52:19 +00:00 committed by Tom Tromey
parent d0815622ea
commit 80a59404aa
2 changed files with 3 additions and 0 deletions

View file

@ -10,6 +10,7 @@ void Java_martin_myNative(JNIEnv* env, jobject this, jstring s)
jmethodID mid;
printf("From C\n");
fflush(stdout);
cls = (*env)->FindClass(env, "java/lang/System");
if (cls == 0) {