Results for “java stringreader inputstream function example code site:bugs.java.com 8”
bugs.java.com
Bug ID: JDK-8033911 Simplify instrumentation of ...
Description Some of the public read and write methods in FileInputStream and RandomAccessFile are declared native. This means that it is hard to instrument them using byte code instrumentation. Changing the public methods to be to non-native and instead calling private native methods would simplify BCI.
bugs.java.com
404 - Page Not Found - Java Issue Tracker
404 - Not found. Head back home or try the search bar above!
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
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
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.