--- 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) {