--- a/jdk/test/java/lang/ProcessBuilder/Basic.java Tue Feb 22 10:19:35 2011 +0000
+++ b/jdk/test/java/lang/ProcessBuilder/Basic.java Tue Feb 22 12:04:48 2011 +0000
@@ -1762,9 +1762,9 @@
equal(p.exitValue(), 5);
- p.getInputStream().close();
- p.getErrorStream().close();
- p.getOutputStream().close();
+ try { p.getInputStream().close(); } catch (IOException ignore) { }
+ try {p.getErrorStream().close(); } catch (IOException ignore) { }
+ try { p.getOutputStream().close(); } catch (IOException ignore) { }
InputStream[] streams = { p.getInputStream(), p.getErrorStream() };
for (final InputStream in : streams) {