Results for “java stringreader inputstream function example code download site:bugs.java.com”
bugs.java.com
Bug ID: JDK-4795134 InflaterInputStream.available returns 1 ...
At this point, the input stream is empty but it still reports that at least one byte is available. The program below reproduces the bug and reports: "java.io.IOException: available = 1, read = -1" Note that available () returns 1 but the next read () fails.
bugs.java.com
Bug ID: JDK-4233012 HTMLEditorKit can't cope with HTTP-EQUIV...
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.
bugs.java.com
JDK-6631046 - Java Issue Tracker
Javabugs bug viewer application JDK-6631046: BufferedInputStream.available () reports negative int on very large inputstream
bugs.java.com
Java Issue Tracker - Home - Java Issue Tracker
File an issue Hitting a snag with your Java application and can't find anything in search? Have a small enhancement suggestion for the JDK? File a new issue!
bugs.java.com
Bug ID: JDK-6280339 Reading from a JAR resource input stream ...
An InputStream is retrieved for a resource contained within a JAR file using the getResourceAsStream () function in the ClassLoader class. The available () function is called to determine the number of bytes available to be read. A byte array is created of the required size and a read () with the array as a parameter is performed.
bugs.java.com
Bug ID: JDK-8028616 Htmleditorkit parser doesn't handle ...
This is the example document: / at start is bad Testcase: import javax.swing.text.MutableAttributeSet; import javax.swing.text.html.HTML; import javax.swing.text.html.HTMLDocument; import javax.swing.text.html.HTMLEditorKit; import javax.swing.text.html.parser.DTD; import javax.swing.text.html.parser.DocumentParser; import javax.swing.text.html ...