Results for “java array class object example python code site:bugs.java.com”
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-8160406 Collection.toArray() spec should be explicit about...
Relates : JDK-6260652 - (coll) Arrays.asList(x).toArray().getClass() should be Object[].class.Collection.toArray() is specified to return an object of type Object[], but since arrays are covariant, that requirement is met by any array of a subtype of Object, for example, String[].
bugs.java.com
Bug ID: JDK-8192885 Compiler in JDK 10-ea+33 misses to include...
This tool relies on line number debug information within class files to provide code coverage highlighting. We have a regression test suite which uncovered the defect reported here.