commit | 1ece276659cb52c28d98b058770b68d68d03b809 | [log] [tgz] |
---|---|---|
author | alanb <none@none> | Sat Jun 19 15:17:36 2010 +0100 |
committer | alanb <none@none> | Sat Jun 19 15:17:36 2010 +0100 |
tree | 8cb10a30296e5f88d136bf93f7ecec83e687a2be | |
parent | c64a62443a061ff3748b07c239a310ade9464a64 [diff] [blame] |
6962419: TEST_BUG: java_io tests fails in samevm mode Reviewed-by: ohair, sherman
diff --git a/test/java/io/DataInputStream/ReadFully.java b/test/java/io/DataInputStream/ReadFully.java index ad94280..53c0ee5 100644 --- a/test/java/io/DataInputStream/ReadFully.java +++ b/test/java/io/DataInputStream/ReadFully.java
@@ -43,6 +43,7 @@ } catch (IndexOutOfBoundsException ie) { caughtException = true; } finally { + dis.close(); if (!caughtException) throw new RuntimeException("Test failed"); }