Results for “java constructor example script site:bugs.java.com”
bugs.java.com
Bug ID: JDK-4075480 Add example support in doc with @example tag
In this case, use this command line option: -tag example:a:"Example:" This takes the text from an @example tag in all (a) doc comments (field, method. constructor, class, package) and outputs it with the heading "Example:". 11-06-2004.
bugs.java.com
Bug ID: JDK-6402077 Start position is wrong for package private...
Sub-Component: javac. Affected Version: 6. Priority: P3.Description. See the constructor start position in the following example
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.