bugs.java.com
JDK-4291371 - Java Issue Tracker
Nov 14, 1999 ... JDK-4291371: InputStreamReader.read(char[], int, int) loops if stream read() returns zero ; Assignee. Michael Mccloskey ; Reporter. Mark Chamness.
Nov 14, 1999 ... JDK-4291371: InputStreamReader.read(char[], int, int) loops if stream read() returns zero ; Assignee. Michael Mccloskey ; Reporter. Mark Chamness.
So I have implemented my own class and passed the contentType and InputStream object in the constructor: The folowing is an example to demonstrate the problem.java.io.IOException: read error. at java.lang.Throwable.<init>(Compiled Code).
The code is as below - you will find that the main program never exits. (EDITED BY uta: the code is in attachment) REGRESSION.Java does not provide the API to change inherit-bit for any handle. More other, since at least the JDK 6, all Java-created handles have no installed inherit-bit .