bugs.java.com
JDK-4291371 - Java Issue Tracker
Nov 14, 1999 ... Defect Conversion BT2. 2004-06-10 19:45. BT2:WORK AROUND Name: mc57594 Date: 11/15/99 My workaround will be to implement my own input stream ...
Nov 14, 1999 ... Defect Conversion BT2. 2004-06-10 19:45. BT2:WORK AROUND Name: mc57594 Date: 11/15/99 My workaround will be to implement my own input stream ...
I have now isolated the problem into a single piece of code for demonstration purposes. This is cut down from a larger piece of software which uses the Java Activation Framework (hence the use of InputStreams). I have attached the code, and two trivial HTML documents.
I have included simple Java programs that demonstrate this bug. Run TCPServer with something like java TCPServer open exec "notepad" exit. Then try connecting to it with TCPClient java TCPClient <host TCPServer was on> <port> <string of text>.