jdk/test/java/lang/ProcessBuilder/Basic.java
changeset 10347 1c9efe1ec7d3
parent 9500 268f823d9e1c
child 12047 320a714614e9
--- a/jdk/test/java/lang/ProcessBuilder/Basic.java	Wed Aug 17 22:47:12 2011 -0700
+++ b/jdk/test/java/lang/ProcessBuilder/Basic.java	Thu Aug 18 16:47:20 2011 +0100
@@ -1803,7 +1803,7 @@
 
             p.getInputStream().close();
             p.getErrorStream().close();
-            p.getOutputStream().close();
+            try { p.getOutputStream().close(); } catch (IOException flushFailed) { }
 
             InputStream[] streams = { p.getInputStream(), p.getErrorStream() };
             for (final InputStream in : streams) {