bugs.java.com
JDK-4030374 - Java Issue Tracker
Feb 5, 1997 ... ... array before the superclass constructor runs. This is a problem ... return Method Outer. Middle.Inner(Outer.Middle) // constructor for ...
Feb 5, 1997 ... ... array before the superclass constructor runs. This is a problem ... return Method Outer. Middle.Inner(Outer.Middle) // constructor for ...
If one looks over the method specifications of java.lang.Class, there are ... returns the Class object representing the class in which it was declared.
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.