Results for “java constructor example string python code file site:bugs.java.com 2”
bugs.java.com
Bug ID: JDK-6294060 Use of substring() causes memory leak
The behaviour can even be "cloaked" by using java.util.regex classes: Matcher.group() etc. which seem to use substring internally for String extraction. This way it's nearly impossible to detect the memory leak. This behaviour is totally independent of OS, Java Version, VM type etc.
bugs.java.com
Bug ID: JDK-8202055 Add methods to Files for reading/writing a string...
Currently, java.nio.file.Files already provides methods for the conversion between a byte array and file, as well as a list and file.java.nio.file.Files >. public static String readString(Path path) throws IOException >.
bugs.java.com
Bug ID: JDK-4072197 EventSetDescriptor should test for null...
This constructor should either throw a NullPointerException or ignore null listenerMethodNames elements. Other constructors work the same way. ==== Here is the test demonstrating the bug ==== import java.beans.*; import java.lang.reflect.*; import java.awt.event.ActionListener