Results for “java constructor example script code python site:bugs.java.com file”
bugs.java.com
Bug ID: JDK-8183554 Add constructors with Charset parameter for...
The specification for FileReader stated that "The constructors of this class assume that the default character encoding and the default byte-buffer size are acceptable", that indicated that FileReader was designed as a convenient API for situations where default settings are desirable.
bugs.java.com
Bug ID: JDK-6402077 Start position is wrong for package private...
Sub-Component: javac. Affected Version: 6. Priority: P3.Description. See the constructor start position in the following example
bugs.java.com
Bug ID: JDK-6294060 Use of substring() causes memory leak
It's an error in java.lang.String source code which is the same for all JDK distributions.I have created a more simple example class which demonstrates this behaviour very clearly. STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : See bug ID 4637640.