Description
The below testcase throws PipeNotConnected exception when trying to write
a zero byte array just after closing the stream.
The exception should not be thrown as there is no byte to write.
import java.io.*;
public class Test{
public static void main(String [] args){
try
catch(IOException e )
{ e.printStackTrace(); } }
}