Results for “java polymorphism string example code 1 class program script 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-8165750 Constant variable (type string) still referenced in...
private static boolean isEnabled(java.lang.String); descriptor: (Ljava/lang/String;)Z flags: ACC_PRIVATE, ACC_STATIC Code: stack=2, locals=1, args_size=1.