java.lang.Object
org.apache.maven.surefire.api.util.internal.Channels

public final class Channels extends Object
Converts OutputStream, PrintStream, InputStream to the Java Channel.
We do not use the Java's utility class Channels because the utility closes the stream as soon as the particular Thread is interrupted. If the frameworks (Zookeeper, Netty) interrupts the thread, the communication channels become closed and the JVM hangs. Therefore we developed internal utility which is safe for the Surefire.
Since:
3.0.0-M5