Results for “java array length example script code python file site:bugs.java.com page”
bugs.java.com
Bug ID: JDK-6577648 Fix for 6535356 should be enlarged
The reasons for this was to assign a copy of array refference passed in the method to class filed instead of assigning the passed refference.Arrays.copyOf() requare length of array as its second argument. If array is null, NullpointerException will be thrown. This should be fixed.
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.