This is an automated email from the ASF dual-hosted git repository. tibordigana pushed a commit to branch maven2surefire-jvm-communication in repository https://gitbox.apache.org/repos/asf/maven-surefire.git
The following commit(s) were added to refs/heads/maven2surefire-jvm-communication by this push: new afa736a fixed the IT 735 afa736a is described below commit afa736a24312fcc9287d4e6722a5bd49943bcf36 Author: tibordigana <tibordig...@apache.org> AuthorDate: Sun Mar 22 04:37:20 2020 +0100 fixed the IT 735 --- .../apache/maven/surefire/extensions/util/CommandlineStreams.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/surefire-extensions-api/src/main/java/org/apache/maven/surefire/extensions/util/CommandlineStreams.java b/surefire-extensions-api/src/main/java/org/apache/maven/surefire/extensions/util/CommandlineStreams.java index 18dae45..cb57b9c 100644 --- a/surefire-extensions-api/src/main/java/org/apache/maven/surefire/extensions/util/CommandlineStreams.java +++ b/surefire-extensions-api/src/main/java/org/apache/maven/surefire/extensions/util/CommandlineStreams.java @@ -24,6 +24,7 @@ import java.io.Closeable; import java.io.IOException; import java.io.InputStream; import java.nio.channels.Channel; +import java.nio.channels.ClosedChannelException; import java.nio.channels.ReadableByteChannel; import java.nio.channels.WritableByteChannel; @@ -80,5 +81,9 @@ public final class CommandlineStreams implements Closeable { closed = true; } + catch ( ClosedChannelException e ) + { + // already closed externally + } } }