Results for “java array class object string example python site:bugs.java.com file”
bugs.java.com
Bug ID: JDK-4899439 File uses strings for names but file names are...
A DESCRIPTION OF THE PROBLEM : You can create a file that Java's java.io.File class cannot read. This is because file names are actually byte-arrays in the os but java.io.File takes a String for a file name (which is composed of Unicode characters).
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.