jdk/test/java/lang/ProcessBuilder/Basic.java
changeset 8540 ed028ce13912
parent 8539 eeb9fc5a68c1
child 8561 ca8d6ccdd9dc
--- a/jdk/test/java/lang/ProcessBuilder/Basic.java	Tue Feb 22 12:04:48 2011 +0000
+++ b/jdk/test/java/lang/ProcessBuilder/Basic.java	Tue Feb 22 14:28:13 2011 +0000
@@ -1762,9 +1762,9 @@
 
             equal(p.exitValue(), 5);
 
-            try { p.getInputStream().close(); } catch (IOException ignore) { }
-            try  {p.getErrorStream().close(); } catch (IOException ignore) { }
-            try { p.getOutputStream().close(); } catch (IOException ignore) { }
+            p.getInputStream().close();
+            p.getErrorStream().close();
+            p.getOutputStream().close();
 
             InputStream[] streams = { p.getInputStream(), p.getErrorStream() };
             for (final InputStream in : streams) {