Results for “java constructor example string type function command 1 pdf site:bugs.java.com”
bugs.java.com
Bug ID: JDK-4489146 BigInteger(String, int) does not fail on multiple...
Type: Bug. Component: core-libs. Sub-Component: java.math.If the String passed to the BigInteger(String, int) constructor begins with "-- " (two minus signs), or "-0-" then a BigInteger object is created even though such a String is badly formatted.
bugs.java.com
Bug ID: JDK-7004835 Different handling for final in constructor
Type: Bug. Component: specification.A DESCRIPTION OF THE PROBLEM : There is a different handling for final member in constructor: Accessing by this or without this lead to a compile error or does not. STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : /tmp/java> javac...
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.