Results for “java inputstream example script code file python 3 site:bugs.java.com 2”
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-7002855 reading a .class resource from jar input stream...
Description. The following code reads and prints as expected with jdk6 1.6.0_22. But, this prints all zeros with jdk7 b119. This was run on Ubuntu 10.04. File: Test.java.
bugs.java.com
JDK-5045506 : Improve InputStream.skip (long) performance
In the case of InputStream the method would simply return 0. In the case of subclasses which might be able to skip bytes without having to read them it would skip those bytes. Getting an InputStream from an FTP site is an example of where skip should be optimized but currently is not.
bugs.java.com
Bug ID: JDK-8041711 (process) Process stream lost with bash...
With the fix for JDK-6944584 in JDK 7 the child process's input/errorStream() were changed to get drained when the child process exits. To estimate the size of an array, InputStream.available() is used. This method appears to produce not quite accurate results in the described scenario.
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-8239893 Windows handle Leak when starting processes...
The streams need to be closed whether or not they are used by the application that launched the Process.Since then the Input-/Output- and ErrorStreams that are opened internally are probably not closed properly anymore in Process objects at least on Windows.