* libjava.jni/martin.c (Java_martin_myNative): Flush stdout.
From-SVN: r39287
This commit is contained in:
parent
d0815622ea
commit
80a59404aa
|
@ -1,5 +1,7 @@
|
|||
2001-01-26 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* libjava.jni/martin.c (Java_martin_myNative): Flush stdout.
|
||||
|
||||
* libjava.jni/martin.out: New file.
|
||||
* libjava.jni/martin.c: New file.
|
||||
* libjava.jni/martin.java: New 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) {
|
||||
|
|
Loading…
Reference in New Issue