diff options
Diffstat (limited to 'test/java.io/PipedStreamTest.java')
| -rw-r--r-- | test/java.io/PipedStreamTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/java.io/PipedStreamTest.java b/test/java.io/PipedStreamTest.java index 0ef3f05bc..796b35846 100644 --- a/test/java.io/PipedStreamTest.java +++ b/test/java.io/PipedStreamTest.java @@ -25,7 +25,7 @@ public class PipedStreamTest { public static void -main(String[] argv) +main(String[] argv) throws InterruptedException { // Set up a reasonable buffer size for this test if one is not already // specified @@ -56,7 +56,7 @@ main(String[] argv) { System.out.print(new String(buf, 0, bytes_read)); System.out.flush(); - System.gc(); // A short delay + Thread.sleep(10); // A short delay total_read += bytes_read; } |
