bugs.java.com
JDK-4291371 - Java Issue Tracker
Nov 14, 1999 ... ... zero. The looping code is actually in the InputStreamReader.fill() method. The first call to the stream's read(byte[]) method returns zero.
Nov 14, 1999 ... ... zero. The looping code is actually in the InputStreamReader.fill() method. The first call to the stream's read(byte[]) method returns zero.
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.