summaryrefslogtreecommitdiff
path: root/libjava/testsuite
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2001-01-26 22:52:19 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2001-01-26 22:52:19 +0000
commitd1d79e87e16cfa433c7f0dab99c4e06def844db0 (patch)
tree7470577034ac03f55f1017c4a66a6a1fc1532bd5 /libjava/testsuite
parentab7022cbd1e1c6b3fbdaf6dd069d70500a9527cd (diff)
downloadgcc-d1d79e87e16cfa433c7f0dab99c4e06def844db0.tar.gz
* libjava.jni/martin.c (Java_martin_myNative): Flush stdout.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39287 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/testsuite')
-rw-r--r--libjava/testsuite/ChangeLog2
-rw-r--r--libjava/testsuite/libjava.jni/martin.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/libjava/testsuite/ChangeLog b/libjava/testsuite/ChangeLog
index 59dff24bd0f..626bdf7b5ca 100644
--- a/libjava/testsuite/ChangeLog
+++ b/libjava/testsuite/ChangeLog
@@ -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.
diff --git a/libjava/testsuite/libjava.jni/martin.c b/libjava/testsuite/libjava.jni/martin.c
index 31f53e1d1fa..947bd452c04 100644
--- a/libjava/testsuite/libjava.jni/martin.c
+++ b/libjava/testsuite/libjava.jni/martin.c
@@ -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) {