bugs.java.com
JDK-4291371 - Java Issue Tracker
Nov 14, 1999 ... The looping code is actually in the InputStreamReader.fill() method. The ... program", 10000); port.enableReceiveTimeout(3000); InputStream ...
Nov 14, 1999 ... The looping code is actually in the InputStreamReader.fill() method. The ... program", 10000); port.enableReceiveTimeout(3000); InputStream ...
To download the current JDK release, click here.I have included simple Java programs that demonstrate this bug. Run TCPServer with something like java TCPServer open exec "notepad" exit.
addAttachment(String contentType, InputStream in). Because I don't know what type of InputStream that can be passed in, I can't use any of the provided DataSource implementation classes (e.g. java.activation.FileDataSource).